Gluglu on PDA

Posted on Updated on

Gluglu 1.4 running on an i-mate PDA-N with CrE-ME JVMWith CrE-ME installed on my PDA, I’ve managed to play my cellphone game, Gluglu. I’ve tried also my unfinished games: Pusztulat and Bee.
What a pity, that CrE-ME’s evaluation time expires within 30 days. I try to find the best JVM + compiler combo, to develop Java ME games on my PDA.
I’ve already found an IDE named IpaqIDE (can compile, but Run button not working), and an another named FLM Javac wrapper (Run button give strange errors).

There are some possibilities to compile and run your project.

Using CKE as IDE

I’m using and recommend CKE for write the source code, and I made some .bat file to compile and run easily.

Steps I followed to make this available:

  1. Installed all the necessary files, to use the cmd.exe properly
  2. Installed CrE-ME (with Java ME support)
  3. Using this directives I installed to my desktop PC the JDK 1.3.1_15 and copied the following files to my SD card (\Storage Card\jar\): c:\jdk1.3.1_15\jre\lib\rt.jar and c:\jdk1.3.1_15\lib\tools.jar
  4. installed CKE
  5. made some batch file (see below)
  6. configured CKE to use this batchfile

Note: Steps 1-3 is necessary if you want to work with IpaqIDE.jar, and only steps 1-2 neccesary if you want to work with FLM Javac Wrapper (javacw.jar) but in javacw.jar source editor not included.

Batch files I created:


“\Windows\CreME\bin\creme.exe” -Ob -classpath ‘\storage card\jar\tools.jar;\storage card\jar\rt.jar;%2’ %1


“\Windows\CreME\bin\creme.exe” -classpath %2 %1

I added two new command to CKE:

Java Compile

Program: \Windows\CMD.exe

Arguments: /c “\JavaCompile.bat” “$fullname” \$filepath

[X] Save actual document

Java Start

Program: \Windows\CMD.exe

Arguments: /c “\JavaStart.bat” $filename ‘\$filepath’

[ ] Save actual document

Or you can use one of the two IDE if you want


To start ipaqide.jar you should create a batch file:

“\Windows\CrEme\bin\CrEME.exe” -Ob -classpath ‘\ipaqide.jar;\storage card\jar\tools.jar;\storage card\jar\rt.jar’ ipaqide.Javacw2

Please keep in mind, that the RUN button do nothing. You should read the manual on the homepage.

It’s a complete IDE, you can add files, edit and compile them. The Run command do nothing. You cannot save your project and the source editor doesn’t support syntax highlighting. It is using the rt.jar and tools.jar you copied from desktop PC.

FLM Javac Wrapper

Easy to start, as you can double click on the javacw.jar and the IDE start. It isn’t a full ide as source editor not included. You can add files to the project, save/load project, compile and run. Unfortunately the RUN command isn’t working for me. javacw.jar contains all the necessary files to compile a .java file, so no need to copy manually the rt.jar and tools.jar from your desktop PC, also you can download the wrapper.jar without this files if you want.


CrE-ME’s installer copies manual documents to your PDA in .html format (\Windows\CrEme\Documentation).

If you want to run a .jar file, then just double click on it. If the manifest file is containing the main class then Creme start it automatically, otherwise you should write a batch file like this:

“\Windows\CrEme\bin\CrEME.exe” -Ob -classpath ‘\ipaqide.jar’ ipaqide.Javacw2

where -Ob means output directed to the Creme console. You can use -Of to create \jscpout.txt,

and ipaqide.javac is the main class

To start a Java ME program you should create a batch file like this:

“\Windows\CrEme\bin\CrEME.exe” -Of -mv -classpath ‘\my documents\Gluglu1_4.jar’ Gluglu

where -mv mean it is a Java ME program (default is Java SE applet).

But these batch files aren’t working for me. I have to copy paste this command to my console. I don’t know why, if you know a workaround please let me know. Maybe the ‘my documents’ is unreachable?

Compiling Java ME

To compile Java ME source, install to your desktop PC the Sun Wireless Toolkit 2.5.2 (this is the oldest what you can download from Sun homepage without registration required). Copy the following files to SD card (\Storage Card\jar\): C:\WTK2.5.2\lib\ cldcapi*.jar and C:\WTK2.5.2\lib\ midpapo*.jar.

I’ve created Batch scripts for compile and start:


“\Windows\CreME\bin\creme.exe” -Ob -classpath ‘\storage card\jar\tools.jar;\storage card\jar\rt.jar;\Storage Card\JAR\midpapi10.jar;\Storage Card\JAR\cldcapi10.jar;%2’ %1


“\Windows\CreME\bin\creme.exe” -mv -classpath %2 %1

(%1 is $filename and %2 is \$filepath in CKE)

I’ve used this HelloMIDlet source to test the compiler:

import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;

public class HelloMIDlet
extends MIDlet
implements CommandListener {
private Form mMainForm;

public HelloMIDlet() {
mMainForm = new Form(“HelloMIDlet”);
mMainForm.append(new StringItem(null, “Hello, MIDP!”));
mMainForm.addCommand(new Command(“Exit”, Command.EXIT, 0));

public void startApp() {

public void pauseApp() {}

public void destroyApp(boolean unconditional) {}

public void commandAction(Command c, Displayable s) {

Google for Gluglu

Posted on Updated on

I’ve just searched the Internet for my game: Gluglu.

The result is quite interesting as I got a lot of russian webpage as a result. There are some example:

Other sites:
Motoroal C385
Interesting for me seeing IRC archives and forums where members say ‘My favorite is Sudoku, Gluglu and Sokojava’.

Some files uploaded

Posted on Updated on

I uploaded some of my projects: Gluglu and Easter Quest.