Welcome to AVR32 Linux... Users Groups

JamVM

JamVM is a new Java Virtual Machine which conforms to the JVM specification version 2 (blue book). In comparison to most other VM's (free and commercial) it is extremely small, with a stripped executable on PowerPC of only ~180K, and Intel 150K. However, unlike other small VMs (e.g. KVM) it is designed to support the full specification, and includes support for object finalisation, Soft/Weak/Phantom References, class-unloading, the Java Native Interface (JNI) and the Reflection API.

Building ClassPath

First download and build classpath at http://www.gnu.org/software/classpath. Only one change needs to be applied, in native/fdlibm/ieeefp.h you need to add

#ifdef __AVR32__
#define __IEEE_BIG_ENDIAN
#endif

Configure and build using

./autogen.sh --target=avr32-linux --host=avr32-linux --without-x --without-alsa --disable-gtk-peer --disable-plugin --disable-gconf-peer --disable-examples

The patch is submitted to the classpath bugzilla but not yet included in a release.

UPDATE

Version 0.97.2 includes the patch.

Building JamVM

Download the attached source directory. Configure and build using
./autogen.sh --target=avr32-linux --host=avr32-linux --without-x --without-alsa --disable-gtk-peer

OR

./configure --host=avr32-linux --without-x --without-alsa --disable-gtk-peer

These are the sources of jamvm 1.5.0 with the avr32 patches applied. * jamvm-1.5.0-avr32-src.tgz: jamvm-1.5.0-avr32-src.tgz

You can also find binaries for classpath and jamvm below. They should be unpacked to /usr/local/classpath and /usr/local/jamvm respectively.

  File Size Date By Actions
zip jamvm-1.5.0-avr32-src.tgz
 
5271.6 K 2008-02-08 - 12:43 LeenToelen props, move
zip usr_local_classpath.tgz
 
9464.4 K 2008-02-08 - 12:49 LeenToelen props, move
zip usr_local_jamvm.tgz
 
1096.2 K 2008-02-08 - 12:50 LeenToelen props, move
r5 - 2008-09-17 - 06:41:13 - BenNizette
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.
Syndicate this site RSSATOM