[kaffe] [help] porting kaffe to superh :java.lang.ClassNotFoundException

周光华 g_zhou at hitachi.com.cn
Wed Feb 4 02:48:02 PST 2004


Dear all,
    I am porting kaffe-1.1.3.tar.gz to superh, my board is SolutionEnging7709A, I compiled kaffe on the board with 3 steps:
./configure --host=superh-linux --build=superh-linux
make
make install

but I encoutered the errors below:


1. The error come with the command of make:
...
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
...
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
bash-2.05a#
2. The error come with the command of make install:
...
Making install in test
make[1]: Entering directory `/home/kaffe/kaffe-1.1.3/test'
Making install in regression
make[2]: Entering directory `/home/kaffe/kaffe-1.1.3/test/regression'
Making install in compile_time
make[3]: Entering directory `/home/kaffe/kaffe-1.1.3/test/regression/compile_tim
e'
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
make[4]: Entering directory `/home/kaffe/kaffe-1.1.3/test/regression/compile_tim
e'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/kaffe/kaffe-1.1.3/test/regression/compile_time
'
make[3]: Leaving directory `/home/kaffe/kaffe-1.1.3/test/regression/compile_time
'
Making install in run_time
make[3]: Entering directory `/home/kaffe/kaffe-1.1.3/test/regression/run_time'
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
java.lang.ClassNotFoundException: at.dms.kjc.Main
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:296)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)
make[4]: Entering directory `/home/kaffe/kaffe-1.1.3/test/regression/run_time'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/kaffe/kaffe-1.1.3/test/regression/run_time'
make[3]: Leaving directory `/home/kaffe/kaffe-1.1.3/test/regression/run_time'
make[3]: Entering directory `/home/kaffe/kaffe-1.1.3/test/regression'
make[4]: Entering directory `/home/kaffe/kaffe-1.1.3/test/regression'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/kaffe/kaffe-1.1.3/test/regression'
make[3]: Leaving directory `/home/kaffe/kaffe-1.1.3/test/regression'
make[2]: Leaving directory `/home/kaffe/kaffe-1.1.3/test/regression'
make[2]: Entering directory `/home/kaffe/kaffe-1.1.3/test'
make[3]: Entering directory `/home/kaffe/kaffe-1.1.3/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/kaffe/kaffe-1.1.3/test'
make[2]: Leaving directory `/home/kaffe/kaffe-1.1.3/test'
make[1]: Leaving directory `/home/kaffe/kaffe-1.1.3/test'
bash-2.05a#


Thanks a lot!
                                                                    zhou guanghua


More information about the kaffe mailing list