Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 2.31 KB

Maemo.md

File metadata and controls

77 lines (61 loc) · 2.31 KB

Introduction

MicroEmu can be used in two different ways to allow Maemo users using Java ME software. First method uses Sun Java SE for Embedded which has limited 90 days license. Better option would be to use second method as it is a full open source solution, but at the moment it is possible to run only on x86 emulator. Future plans includes making the second method available also for Maemo devices. More details can be found in MaemoRoadmap document.

First method

Works either on device or in scratchbox (ARM)

1. Create microemu-maemo development folder

mkdir microemu-maemo
cd microemu-maemo

2. Download and install Sun Java SE for Embedded (http://java.sun.com/javase/downloads/embedded.jsp)

Java SE for Embedded 6 EABI, glibc 2.5, Hard Float (VFP), Little Endian

3. Download and install MicroEmulator (http://snapshot.microemu.org/microemulator/download/)

unzip microemulator-3.0.0-SNAPSHOT.zip

4. And finally run the SimpleDemo MIDlet

java -cp microemulator-3.0.0-SNAPSHOT/microemulator.jar:microemulator-3.0.0-SNAPSHOT/apps/microemu-demo.jar org.microemu.app.Main org.microemu.midp.examples.simpledemo.SimpleDemoMIDlet

Second method

Works only in scratchbox (x86)

1. Create microemu-maemo development folder

mkdir microemu-maemo
cd microemu-maemo

2. Download and install JamVM 1.4.5 (http://jamvm.sourceforge.net/)

tar xjf jamvm-1.4.5.tar.bz2
cd jamvm-1.4.5
./configure
make install
cd ..

3. Download and install Jikes 1.22 (http://jikes.sourceforge.net/)

tar xjf jikes-1.22.tar.bz2
cd jikes-1.22
./configure
make install
cd ..

4. Download and install GNU Classpath 0.93 (http://www.gnu.org/software/classpath/)

tar xzf classpath-0.93.tar.gz
cd classpath-0.93
./configure --with-jikes --disable-plugin
make install
cd ..

5. Download and install MicroEmulator (http://snapshot.microemu.org/microemulator/download/)

unzip microemulator-3.0.0-SNAPSHOT.zip

6. And finally run the SimpleDemo MIDlet

jamvm -cp microemulator-3.0.0-SNAPSHOT/microemulator.jar:microemulator-3.0.0-SNAPSHOT/apps/microemu-demo.jar org.microemu.app.Main org.microemu.midp.examples.simpledemo.SimpleDemoMIDlet