Provisioning MIDlets (validating MIDlets through JAM)

Note: When running MIDlet from an IDE, ensure that the MIDlet provisioning settings are the same in the IDE and in the SDK.

To provision a MIDlet:

  1. From the Emulator menu bar, navigate to Tools > Preferences. The General tab will be selected by default, click on the MIDP tab.

  2. To provision a MIDlet, check OTA Provisioning under the MIDlet File Provisioning section.

    The MIDlet is then loaded through the Java Application Manager (JAM), which validates that the Java Application Descriptor (JAD), Java Archive (JAR), and JAR manifest in the JAR file that make up a MIDlet are correct.

When you load a JAD file with provisioning enabled, the JAR and JAR manifest associated with it are validated. When you provision a JAR file, only the JAR manifest is validated.