[Jamvm-general] Problems with Jamvm+AT91RM9200
Brought to you by:
rlougher
From: Anndy <lz...@gm...> - 2009-03-26 09:23:40
|
I want to use jamvm on AT91RM9200 board. Firstly, I do in suse 9.3 machine 1、gnu classpath: classpath-0.92#CC=/usr/local/arm/2.95.3/bin/arm-linux-gcc ./configure --host=arm-linux --prefix=/mnt/nfs/classpath --disable-gtk-peer --disable-gconf-peer --disable-plugin --with-jikes --enable-jni classpath-0.92#make classpath-0.92#make install 2、jamvm jamvm-1.4.3#CC=/usr/local/arm/2.95.3/bin/arm-linux-gcc ./configure --host=arm-linux --prefix=/mnt/nfs/jamvm --with-classpath-install-dir=/mnt/nfs/classpath jamvm-1.4.3#make jamvm-1.4.3#make install 3、copy /mnt/nfs/classpath and /mnt/nfs/jamvm to /arm_linux_root Secondly, I do in AT91RM9200 board 1、mount -n -o nolock -t nfs 192.168.0.121:/arm_linux_root /mnt/nfs 2、export BOOTCLASSPATH=/mnt/nfs/jamvm/share/jamvm/classes.zip:/mnt/nfs/classpath/share/classpath/glibj.zip export LD_LIBRARY_PATH=/mnt/nfs/classpath/lib/classpath export PATH=/mnt/nfs/jamvm/bin:$PATH 3、[root@AT91RM9200DK nfs]$jamvm HelloWorld bootclasspath is empty! HelloWorld.class is in /mnt/nfs dir. 4、I found in /mnt/nfs/jamvm/share/jamvm, there was no classes.zip. It was a file dir classes. So I change the BOOTCLASSPATH as: export BOOTCLASSPATH=/mnt/nfs/jamvm/share/jamvm/classes:/mnt/nfs/classpath/share/classpath/glibj.zip when i run [root@AT91RM9200DK nfs]$jamvm HelloWorld again, it printed: Exception occurred while VM initialising. java/lang/NoClassDefFoundError: java/lang/Thread How can I solve these problems? Maybe someone give me some advices! Thanks a lot! -- View this message in context: http://www.nabble.com/Problems-with-Jamvm%2BAT91RM9200-tp22718432p22718432.html Sent from the JamVM mailing list archive at Nabble.com. |