View Single Post
Old 02-27-2012, 01:47 AM   #6
vanhoavn
Member
vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.vanhoavn solves Fermat’s last theorem while doing the crossword.
 
Posts: 15
Karma: 28498
Join Date: May 2011
Device: Kindle 3 3G
I'm trying to run jar from bash, but the jvm cannot find classes... Anyone knows the correct syntax?

Code:
[root@kindle documents]# /usr/java/bin/cvm -classpath '/opt/amazon/ebook/lib/Kindlet-1.2.jar' -jar /mnt/us/documents/KCC.JAR
java.lang.NoClassDefFoundError: com/amazon/kindle/kindlet/AbstractKindlet
	at java.lang.Class.loadSuperClasses(Class.java:1800)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:660)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:125)
	at sun.misc.Launcher$AppClassLoader.defineClassPrivate(Launcher.java:533)
	at sun.misc.Launcher$AppClassLoader.access$500(Launcher.java:326)
	at sun.misc.Launcher$4.run(Launcher.java:547)
	at java.security.AccessController.doPrivileged(AccessController.java:333)
	at java.security.AccessController.doPrivileged(AccessController.java:302)
	at sun.misc.Launcher$AppClassLoader.doClassFind(Launcher.java:541)
	at sun.misc.Launcher$AppClassLoader.findClass(Launcher.java:589)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:402)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.CVM.runMain(CVM.java:500)
vanhoavn is offline   Reply With Quote