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)
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
Signing MIDlet Suites (jadtool.exe)
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)
You can launch the emulator independent of the GUI using bin/emulator.exe. The syntax is as follows:
emulator optionsThe syntax for the emulator command is as follows:
The general options are as follows:
-classpath path
-cp path
Specifies a search path for application classes. The path consists of directories, ZIP files, and JAR files separated by colons.
-Dproperty=value
Sets a system property value.
Display a list of valid options.
Display version information about the emulator.
Run an application on the emulator using the given device instance name. See Table 1.
-Xmain:main-class-name
Run the main method of a Java class, as in Java SE.
-Xquery
Print emulator skin information on the standard output stream and exit immediately. The information includes the skin name, screen size, and other capabilities.
This is a simple example of running the emulator from the command line:
emulator.exe -Xdescriptor:C:\Java_ME_platform_SDK_3.0\apps\Games\dist\Games.jademulator.exe also supports MIDlet Options, CDC Options, and Debugging and Tracing Options.