[kaffe] help: run kaffe in mips-linux

Xiao Xiankuan xiaoxiankuan at gmail.com
Tue Apr 12 03:38:47 PDT 2005


Hi,
I just download kaffe 1.1.5.  My linux kernel is 2.4.17. configure and
make are all ok. but when i download the the files to the board and
run:
java HelloWorldApp
the following error happened:

Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
       at java.lang.VMThrowable.fillInStackTrace(VMThrowable.java:76)
       at java.lang.Throwable.fillInStackTrace(Throwable.java:498)
       at java.lang.Throwable.<init>(Throwable.java:159)
       at java.lang.Error.<init>(Error.java:81)
       at java.lang.LinkageError.<init>(LinkageError.java:72)
       at java.lang.ExceptionInInitializerError.<init>(ExceptionInInitializer)
      at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:771)
Aborted

can anybody help me.
i do the cross-compile as follows:

KAFFEH=/usr/local/kaffe/bin/kaffeh
CC=/home/opt/mips-gcc \
NM=/home/opt/mips-nm \
AR=/home/opt/mips-ar  \
./configure --host=mips-linux --build=i686-linux
--with-rt-jar=/tmp/rt.jar --without-x --without-classpath-gtk-awt
--without-esd --enable-pure-java-math --disable-debug
--disable-xprofiling --disable-feedback --disable-gcj --without-stats
--disable-alsatest --disable-esdtest --without-alsa
--prefix=$HOME/vmkaffe --exec-prefix=$HOME/vmkaffe --with-staticlib
--with-staticbin --with-staticvm --disable-mips2 --disable-native-awt
--without-sound --with-gnu-ld  --disable-binreloc
--with-class-library-profile=default --with-engine=intrp
--with-threads=unix-pthreads

thanks very much
Xiao Xiankuan



More information about the kaffe mailing list