midp: The MID Profile Execution Environment

Availability

MIDP Reference Implementation

Synopsis

midp [options]

midp [options] [-Xdescriptor filename] class

midp [options] -Xdescriptor filename

midp [options] -autotest descriptor_URL [MIDlet_name]

midp [options] -transient descriptor_URL [MIDlet_name]

midp [options] -install [-force] descriptor_URL

midp [options] -run (suite number | storage name) [MIDlet_name]

midp [options] -remove (suite number | storage name | all)

midp [options] -list

midp [options] -storageNames

Description

midp is an executable program that contains a KVM implementation, classes required by MIDP Version 1.0, and an implementation of an Application Management Software subsystem. It is, therefore, a complete environment for testing the execution and installation of MIDlets.

MIDlet Management and Storage

A MIDlet consists of one or more class files and associated resources stored in a JAR file. Several MIDlets may be combined into a MIDlet suite. All the MIDlets that make up a given suite are packaged in the same JAR file and are managed as a single unit: they are installed together in the simulated nonvolatile device storage maintained by the midp command and removed together. Furthermore, they all execute in the same instance of the Java VM.

MIDlets may be loaded from a local filesystem for testing purposes, but, in the real world, they will almost always be installed over a network or via a local connection to an associated host system, such as a desktop ...

Get J2ME in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.