Viewing and Editing Project Properties
Running Projects in the Emulator
Searching the WURFL Device Database
Finding Files in the Multiple User Environment
CLDC Emulation on a Windows Mobile Device
Installing CLDC Emulation on a Windows Mobile Emulator
Managing Device Addresses (device-address)
Running the Emulator From the Command Line
Building a Project from the Command Line
Packaging a MIDLet Suite (JAR and JAD)
Command Line Security Features
Changing the Emulator's Default Protection Domain
Managing Certificates (MEKeyTool)
Running the Payment Console From the Command Line
Virtual Machine Memory Profiler (Java Heap Memory Observe Tool)
Running the Java Heap Memory Observe Tool
JSR 82: Bluetooth and OBEX Support
JSR 135: Mobile Media API Support
JSR 177: Smart Card Security (SATSA)
JSRs 184, 226, and 239: Graphics Capabilities
JSR 205: Wireless Messaging API (WMA) Support
JSR 211: Content Handler API (CHAPI)
JSR 238: Mobile Internationalization API (MIA)
jadtool.exe is a command-line interface for signing MIDlet suites using public key cryptography according to the MIDP 2.0 specification. Signing a MIDlet suite is the process of adding the signer certificates and the digital signature of the JAR file to a JAD file. jadtool.exe is also capable of signing payment update (JPP) files.
jadtool.exe only uses certificates and keys from Java SE platform keystores. Java SE software provides keytool, the command-line tool to manage Java SE platform keystores.
jadtool.exe is packaged in a JAR file. To run it, open a command prompt, change the current directory to installdir\bin, and enter the following command:
jadtool.exe commandThe commands are as follows:
-help
Prints the usage instructions for jadtool.exe.
-addcert -alias alias [-keystore keystore] [-storepass password] [-storetype PKCS11] [-certnum number] [-chainnum number] [-encoding encoding] -inputjad | inputjpp input-file -outputjad | outputjpp output-file
Adds the certificate of the key pair from the given keystore to the JAD file or JPP file.
-addjarsig [-jarfile jarfile ] [-keystore keystore ] [-alias alias] [-storepass password] [-storetype PKCS11] [-keypass password] [encoding encoding] [-inputjad input-jadfile ] [-outputjad output-jadfile]
Adds the digital signature of the given JAR file to the specified JAD file. The default value for -jarfile is the MIDlet-Jar-URL property in the JAD file.
-showcert [([-certnum number] [-chainnum number]) | -all [-encoding encoding] -inputjad filename | -inputjpp filename
Displays information about certificates in JAD and JPP files.
-addjppsig -keypass password -alias alias [-keystore keystore] [-storepass password] [-keystore none|keystore] [-storetype PKCS11] [-encoding encoding] -inputjpp filename -outputjpp filename
Adds a digital signature of the input JPP file to the specified output JPP file.
The default values are as follows:
-encoding - UTF-8
-jarfile - MIDlet-Jar-URL property in the JAD file
-keystore - %HOMEPATH%\.keystore
-certnum - 1
-chainnum - 1