There are two distinct J2ME environments:
- Connected Device Configuration (CDC) and Profile
- An example is Foundation + Applications in the CDC environment, which
can effectively be developed like a normal Java™ 2 Platform Standard Edition (J2SE)
application. The only change required is modifying the bootclasspath option
to point to the relevent CDC jar or zip class file.
Note: The 'bootclasspath'
option may not be available on all JVM's
- Connected Limited Device Configuration (CLDC) and Mobile Information Device
Profile (MIDP)
- Applications developed for MIDP can also be compiled using
a normal J2SE JVM (again using the bootclasspath to point to the required
Midp class library), but they normally have to be run within a Midp Emulator.
Therefore, we recommend developing the application using one of the MIDP Toolkits
available on the Web. MQe provides a MIDP jar that should be used within this
environment. The MQeMidp.jar is in the <MQeInstallDir>\Java\Jars
directory.