This page presents a step by step procedure for running a Java application on a Palm OS handheld.




The content comes from http://developer.java.sun.com/developer/technicalArticles/wireless/palm/ and is presented the way I understood it and tried it.

The first thing to do is download the Java 2 Micro Edition classes and development tools:
those are j2me_cldc_1_0_src-winsol.zip and j2me_cldc-1_0-src-palm_overlay.zip.
You have to unzip the first package first and then the second in the directory created by the first unzipped package.
Download the Palm OS Emulator from http://developer.java.sun.com/developer/technicalArticles/wireless/palm/

Once the code has been written, here are the sequences to make this code run on the Palm Handheld. They are presented as aliases in a .bashrc file
alias pdajavac="javac -bootclasspath 'c:/j2me_cldc/bin/api/classes'"
alias preverify="preverify -classpath '.;c:/j2me_cldc/bin/api/classes'"
alias kvm="cd output;kvm -classpath . $1"
alias makeApp="java -classpath 
'c:/j2me_cldc/tools/palm/classes' palm.database.MakePalmApp 
-bootclasspath 'c:/j2me_cldc/bin/api/classes'"
KVM.prc and KVMutils.prc (the Virtual Machine for palm) need to be installed on the Palm emulator before running the new application.

That's it