Managing device
platforms
Managing device platforms includes:
- Creating device platforms
- Removing device platforms
To create a device platform
In MTJ,
a device platform is created by configuring a mobile SDK in MTJ preferences.
Make sure the SDK you want to add to MTJ is installed in your computer.
- In the menu bar, select Window
-> Preferences.
The Preferences window opens.
- In the Preferences window, in the left-side pane,
expand Mobile Tools for the Java Platform
and select Device Platform.
The Device Platform pane opens on the right side.

- Select Add.
The Add Mobile Device Platform window opens.

- In the Location
field, select Browse
and browse to the main root of the desired device platform (the desired
mobile SDK) and click OK.
The Device Platforms field displays the chosen SDK
- In the Device
Platforms field, expand the
SDK and uncheck those devices or emulators that you do not wish to include
in the runtime platform.
- Click OK.
The new device platform is added to the device platforms list.
Tip:
When you highlight a mobile SDK in the Device
Platform list, the selected devices for that particular configuration
of the SDK are displayed in the devices list. Highlight a device from
the Devices list and select Info to display the Device window. In
this window, you can view and edit the device settings, such as the Java
ME profile and configuration.
You can remove mobile SDK in MTJ preferences.
To remove a device platform
In MTJ, a device platform is removed by
removing a mobile SDK from MTJ preferences.
- In the menu bar, select Window
-> Preferences.
The Preferences window opens.
- In the Preferences window, in the left-side pane,
expand Mobile Tools for the Java Platform
and select Device Platform.
The Device Platform opens on the right side pane.

- In the Device Platform
field, highlight the mobile SDK which you want to remove from MTJ and
select Remove.
Note:
The chosen SDK is removed from the Device Platform list and from the MTJ
configuration, but it is still located on your computer.
- Click OK.

Mobile SDKs
Mobile runtimes

Managing mobile SDKs
Creating your first MIDlet

Preferences