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:
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?
Code:
Exception occurred while VM initialising.
java/lang/NoClassDefFoundError: java/lang/Class
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?