Showing posts with label j2me. Show all posts
Showing posts with label j2me. Show all posts

Friday, June 22, 2007

Running a J2ME application on Windows Mobile 5.0 devices

It is a real pain for Windows Mobile users to get a simple J2ME program to run on their mobile devices. I owned a Dopod 818 pro which is running WM5, and now I have to get my J2ME application to run on it.

Dopod actually bundled an application named MIDLet manager to run J2ME program. But after using it for a while, I experienced some weird behaviors such as automatic closing of the running program. So I think I should find other JVM for my phone.

After some googlings, I found that IBM J9 is one of the good choices. I download the installation package and follow instructions in install.pdf. There is also a good guide, which covers the installation for other platforms, at Markus blog too.



I first faced with the weird Exception from emulator.exe which says it cannot download the jad files.

An exception occurred
[//J9/IBM/examples/golfscoretrackersuite.jad] while downloading from file://J9/IBM/examples/golfscoretrackersuite.jad


Then, I found out that I mistyped the URL. It has to be “file:///{path}” instead of “file://{path}” (Note that there are THREE SLASHES) :P

I can now get the example ran.

Wednesday, January 24, 2007

J2ME Applications to run on Sony's PSP




People at java4psp are porting J2ME Virtual Machine to the PSP which means we will see J2ME apps (and games) running on the PSP soon! The project's name is BLUEKVM. This also enable we programmers to program the PSP in Java language (which is easier to code/debug than those alien C/C++).

Welcome to PSP Java Development!

This is an experimental project on the Java technology for the PSP platform.

Current Subprojects
1. BLUEKVM - A port of the J2ME technology's Kilobyte Virtual Machine (KVM). The KVM core libraries, virtual machine

features, security, input/output, and networking is defined by the Connected Limited Device Configuration,

version 1.1.

Please visit http://java.sun.com/javame/index.jsp for more details of the J2ME technology.

Download the BLUEKVM demo version (bluekvm-psp-demo-version.zip)
to see a sample Java code running on your PSP!

2. PlayStation Device Profile (under research)


QPOINT Software Group
PHYSIKA, THe U.P. Applied Physics Society