By installing the CLDC packages, you have set up the development environment and now have access to the documentation and classes, which you will find under j2me_cldc/docs and j2me_cldc/bin/api/classes, respectively.
The j2me_cldc/tools directory, one of the other directories installed with the two packages, stores the utilities used to generate .prc files. These utilities allow you to install your J2ME applications on your PDA. To use the tools in the j2me_cldc/tools directory, you must first compile the class files:
- Go to or change to the j2me_cldc/tools/palm directory.
- Create a subdirectory called classes
- Compile the .java source files by entering the following command on one line:
The classes are now compiled and can be found in the classes subdirectory.
javac -d classes src/palm/database/*.java
- Copy the src/palm/database/Wrapper.prc and src/palm/database/DefaultTiny.bmp files to the classes directory.
You have now compiled the Palm database tools class files into the j2me_cldc/tools/palm/classes directory (and its subdirectories). You may want to add the full path to the classes subdirectory to your Java CLASSPATH. Alternatively, you can add it to the CLASSPATH specified on the
java command line when you use the Palm database tools.