Difference between revisions of "Java"

From Chumby Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
'''NOTE: this page is under development'''
 +
 
How to build a simple java virtual machine for the chumby (assumes you have the development tools installed):
 
How to build a simple java virtual machine for the chumby (assumes you have the development tools installed):
  

Revision as of 19:50, 12 October 2006

NOTE: this page is under development

How to build a simple java virtual machine for the chumby (assumes you have the development tools installed):

Building JamVM

Create a directory to hold the package

mkdir ~jamvm
cd jamvm

Download the source code

Go here and download the source code into ~/jamvm

Unpack the source code

tar xzvf java-1.4.3.tar.gz
cd javavm-1.4.3

Configure and build

./configure  --build=i386-linux --host=arm-linux --prefix=/usr/arm-linux
make

Strip the binary

arm-linux-strip src/jamvm

Install

sudo make install

This will copy the virtual machine to /usr/arm-linux/jamvm, and the basis class libraries to /usr/arm-linux/share/classes.zip