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. In the SDK, select Tools > Preferences and click the MIDP tab.

  2. To provision a MIDlet, check OTA Provisioning in 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.