Hi, thanks very much for the reply. after I removed the --disable-mips2 and add --with-threads=unix-jthreads. I got the following errors when I run java HelloWorldApp:
Internal error: caught an unexpected exception. Please check your CLASSPATH and your installation. java/lang/StackOverflowError This error may occur because the stack size is not sufficient. Try to increase the stack size using 'ulimit -s' or with the '-ss' option on kaffe. 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 Actually, i tried the default stack size 64k and 512k. I don't know what I can do now. My target MIPS is R3000. I cross-compiled in linux2.6 pc. The config is as follows: KAFFEH=/usr/local/kaffe/bin/kaffeh \ CC=/home/opt/hardhat/devkit/mips/lexra_fp_be/bin/mips_lexra_fp_be-gcc \ NM=/home/opt/hardhat/devkit/mips/lexra_fp_be/bin/mips_lexra_fp_be-nm \ AR=/home/opt/hardhat/devkit/mips/lexra_fp_be/bin/mips_lexra_fp_be-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-native-awt --without-sound \ --with-gnu-ld --disable-binreloc \ --with-class-library-profile=default \ --with-engine=intrp \ --with-threads=unix-jthreads Can anyone help me? thanks very very much Xiao Xiankuan _______________________________________________ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe