Enabling MIDP development on Mac OS X with NetBeans and the Mpowerplayer
Developing MIDP applications on Mac OS X systems is possible using NetBeans 6.1 and the Mpowerplayer MIDP emulator. Setting up your environment requires two separate actions: setting up the IDE, then adding the MIDP emulator.
- Download NetBeans IDE for Mac OS X
- Install either the Java SE or Web and Java EE version of the IDE.
- After installation, start the IDE and go to Tools - Plugins to open the Plugins dialog.
- Click the Available Plugins tab. Under Category go to Java ME.
- Check the boxes for Visual Mobile Designer, and Java ME and click Install (SDK MPowerPlayer Support plugin comes with Mobility plugin).
Note: There are not any CDC emulators available for Mac OS X, so there is no need to install the Java ME CDC plugin.
- Download the Mpowerplayer SDK . Expand the file (mpp-sdk-477.zip) to a directory of your choice.
- Install the platform emulator according to the instructions provided by the installer. Save the file as for instance /Application/mpowerplayer.app
- In the NetBeans IDE main menu, choose Tools > Java Platform Manager.
- Click Add Platform. The Add Java Platform dialog opens.
- Select Java ME MIDP Platform Emulator and click Next.
- Select the folder that contains the MPowerPlayer SDK (mpp-sdk). Click Search to locate the emulator in the folder.
- When the IDE finds the MPowerPlayer SDK, click Next.
- If desired, use the Platform Name dialog to add or remove additional resource libraries.
- Click Finish. The IDE registers the MIDP platform.