[kaffe] CLASSPATH in BUILD_ENVIRONMENT
Kiyo Inaba
inaba at src.ricoh.co.jp
Fri May 23 09:34:01 PDT 2003
Hi all,
For 03-05-22 version I downloaded from CVS, and configured on i386-NetBSD-1.6,
the compilation failed at creating rt.jar.
The error message is
CLASSPATH=lib:../../../kaffe-snap-030522/libraries/javalib/Klasses.jar.bootstrap KAFFELIBRARYPATH=../../libraries/clib/native/:../../libraries/clib/io/:../../libraries/clib/zip/ ../../kaffe/kaffe/kaffe-bin kaffe.tools.jar.Jar -cvf rt.jar -C lib gnu java javax kaffe org
Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object
gmake[1]: *** [rt.jar] Abort trap (core dumped)
If I copy some other rt.jar into correct place, regression test failed.
In this case the error message is
error compiling:
java.lang.ClassNotFoundException: at/dms/kjc/Main
at kaffe.lang.SystemClassLoader.findClass0(SystemClassLoader.java:native)
at kaffe.lang.SystemClassLoader.findClass(SystemClassLoader.java:150)
at java.lang.ClassLoader.loadClass(ClassLoader.java:149)
at java.lang.Class.forName(Class.java:74)
at java.lang.Class.forName(Class.java:43)
Caused by: <null cause>
FAIL: HelloWorldApp.java
And it looks like modifying BUILD_ENVIRONMENT (by modifying kaffe/Makefile.am)
may cause this problem.
Is it NetBSD specific?
Kiyo
More information about the kaffe
mailing list