Caanoo / WIZ Java And Gnu Classpath For Caanoo


ainu

Still Fresh
Joined
Oct 31, 2010
Messages
31
I tried to compile JamVm (java) for caanoo. I do it succefuly, put some dirs (java) but while running on caanoo, it say to STDERR:
Code:
Exception occurred while VM initialising.
java/lang/NoClassDefFoundError: java/lang/Class
I run it by this way:
CLASSPATH=. BOOTCLASSPATH=. ./jamvmbinary -classpath . MainClass >d1.txt 2>d2.txt
and
CLASSPATH=. BOOTCLASSPATH=.:classes.zip ./jamvmbinary -classpath . MainClass >d1.txt 2>d2.txt
There are java/lang/Class.java file exist in binary dir.
Now question: What I do wrong? Jamvm running, I thing, but why classpath not work?
 
since you can compile the vm, you can also add debug code, just printf the classpath or other paths and perhaps the file it's looking for before giving that error
 
ainu said:
I tried to compile JamVm (java) for caanoo. I do it succefuly, put some dirs (java) but while running on caanoo, it say to STDERR:
Code:
Exception occurred while VM initialising.
java/lang/NoClassDefFoundError: java/lang/Class
I run it by this way:
CLASSPATH=. BOOTCLASSPATH=. ./jamvmbinary -classpath . MainClass >d1.txt 2>d2.txt
and
CLASSPATH=. BOOTCLASSPATH=.:classes.zip ./jamvmbinary -classpath . MainClass >d1.txt 2>d2.txt
There are java/lang/Class.java file exist in binary dir.
Now question: What I do wrong? Jamvm running, I thing, but why classpath not work?

more news about this topic???
 
Last edited by a moderator:
Hi i'm very interested in jamVM for caanoo where can I get it?

for the jar problem, i know some java interpreters don't load a .jar if it hasn't the execute flag a chmod +X may fix it.
 
Hi i'm very interested in jamVM for caanoo where can I get it?

for the jar problem, i know some java interpreters don't load a .jar if it hasn't the execute flag a chmod +X may fix it.
i'm interesting too, but the great question is: WHERE IS AINU??? :eek:
 
Back
Top