|
Maemo
Setting up Java ME environement for Maemo
IntroductionMicroEmu 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 methodWorks 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 methodWorks 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 |
Third method: icedtea6 works quite fine with microemulator on maemo 5
Packages for both available in extras-devel.
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????
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.
Use this command to install on debian
$ sudo apt-get install openjdk-6-jre
Use this file to install
http://packages.debian.org/lenny/armel/openjdk-6-jre/download
hi
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
Thank you very much...
i will try first method