My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Maemo  
Setting up Java ME environement for Maemo
Updated Apr 23, 2010 by bar...@gmail.com

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
 

Comment by tilman.vogel, May 20, 2010

Third method: icedtea6 works quite fine with microemulator on maemo 5

Packages for both available in extras-devel.

Comment by blueovif...@ovi.com, Feb 7, 2011

Can t understand anything.I have download icedtea6 and still no java on my N900.If you can tell every step to be done to install java on N900.For me is chinese. (1)How to create microemu-maemo development folder and (6)How to run the SimpleDemo? MIDlet????

Comment by manishpu...@gmail.com, Jun 1, 2011

try using openJDK

http://openjdk.java.net/install/ http://packages.debian.org/lenny/openjdk-6-jre

This is open source JRE from sun for embedded runs absolutely fine.

Comment by manishpu...@gmail.com, Jun 1, 2011

Use this command to install on debian

$ sudo apt-get install openjdk-6-jre

Comment by emmaeur...@gmail.com, Jul 20, 2011

hi

Comment by ali143.r...@gmail.com, Aug 17, 2011

hi evry1...i have tried almost each n every method to install microemu n icedtea6 bt it sucks...help me plz advice me wot to do i got theses errors when tried to install.....tar xjf jamvm-1.4.5.tar.bz2 cannot open no such files or directories. tar error is not recoverable exiting now.. tar child returned status 2.. exiting with failure status due to previous errors

Comment by sumedhe5dms, Jun 17, 2012

Thank you very much...

Comment by acva...@yahoo.com, Oct 11, 2013

i will try first method

Powered by Google Project Hosting