Command line syntax

The syntax for the command that starts the SDK is:

executable -option command ContentFile

The following table summarizes the components of the syntax:

Component Description
executable The SDK supports two executables:
  • emulator.exe — Supports options that are generally used for Java MIDlet development.

  • SDK.exe — Supports options that are generally used for message and browser web page development.

See Executables Overview
-option Options generally specify configuration settings for the SDK, such as the language it uses in each SDK instance and what events to trace. Most options work with emulator.exe and SDK.exe. However, some options work only with one of the executables. Those options are noted. See CLI options overview.
command The commands either load content or close an instance. You can have only one command per command line. The command and any options that go with it must be the last item in the command before the content file name. Separate the command from any other element with spaces. See Commands Overview.
content file Load this file on the SDK. See Supported content types overview.
For example:
emulator.exe -Xontop -Xlanguage:Finnish load mymidlet.jad
executable          options (2)         command with content file