Revision as of 14:21, 21 September 2006 by Dj houghton.ca.ibm.com
Nokia 9300 Communicator
Local Machine Setup
- Download and install the Nokia software.
- Ensure you can use Bluetooth to connect to the phone from your PC.
- The File Manager tool is useful for transferring files from your local machine to the phone.
The Java VM on the phone (J9)
- the VM on the phone is J9 Personal Profile 1.0 (ppro10)
- to mimic this VM on your local machine
- download the Foundation 1.0/Personal Profile 1.0 VM
- add the VM as an Installed JRE (
Window -> Preferences -> Java -> Installed JREs)
- add the 2 extra libraries as external JARs (
- add the following default VM arg:
Running an application on the phone
- The file-system can be referenced like Windows with
D:drive is the memory card).
- The J9 VM is associated with the
.j9file-type. You create a
.j9file with all the command-line arguments for your application and then when you click on it in the file manager it will run J9.
- The file contains everything that you want on the command line except the reference to the VM executable. (e.g.
-cp foo.jar com.Foo)
- Note: any arguments after the class name on the commandline are passed to the class as arguments to the application and are not interpreted by the VM. Therefore if you are trying to set system properties, it should be done early in the command-line. (e.g.
-Dfoo=bar -cp foo.jar com.Foo)
Writing to the Console
C:/logs/j9vm- You must have this directory created or your Java application will hang when it tries to write something to
- When you run your Java application 2 files will be created in this directory, one for
System.errand one for
- The files will be named
- Output will always be to this directory, even if your JAR files are on a different drive.
- j9 -io:host:port
- console telnet