...your main source of everything AVR32 Linux
Search: 

Navigation

This site is powered by the TWiki collaboration platform

_email0

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.

r5 - 17 Sep 2008 - 06:41 - BenNizette
  Attachment Action Size Date Who Comment
zip jamvm-1.5.0-avr32-src.tgz props, move 5271.6 K 08 Feb 2008 - 12:43 LeenToelen  
zip usr_local_jamvm.tgz props, move 1096.2 K 08 Feb 2008 - 12:50 LeenToelen  
zip usr_local_classpath.tgz props, move 9464.4 K 08 Feb 2008 - 12:49 LeenToelen  
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.
Powered by TWiki/Dakar Wed, 08 Feb 2006 build 8740
Syndicate this site RSSATOM