To install and setup Java ME development environment with Nebeans 6.1 on a Mac OS X. It is a Netbeans + Mobility + Mpowerplayer/MicroEmu guide, with steps to include optional java package such as jsr75. The original tutorial was posted on Just2me blog.


  1. Download Netbeans 6.1 IDE for Mac OS X.
  2. Install either the Java SE or Web & Java EE version of the IDE.
  3. After installation, start the IDE and go to Tools > Plugins.
  4. Click the Available Plugins tab. Under Category go to Mobility.
  5. Check the boxes for Visual Mobility Designer, and Mobility and click Install.
  6. Download the Mpowerplayer SDK and install it.
  7. In the NetBeans IDE main menu, choose Tools > Java Platform Manager.
  8. Click Add Platform. 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.
  9. Click Finish. The IDE registers the MIDP platform. You can now build and run a MIDP 2.0 application. But the setup still lacks optional java packages.
  10. Download SUN WTK 2.5.2 (for Windows and Linux)
  11. Unzip the .bin. For example, run the command:
     $ unzip sun_java_wireless_toolkit-2_5_2-linux.bin
  1. Under /lib, copy the optional java package you need eg. jsr75, jsr 179 or even midpapi21.jar. Put them under /Applications/mpp-sdk/stubs/
  2. In your project, edit and add to platform.bootclasspath the optional java package. eg.
  1. Begin mobile development on Mac OS X!


Instead of using the 2-years-inactive Mpowerplayer emulator, we could instead use MicroEmulator. The difference is to download its Netbeans plugin.

In step 13, editing the platform.bootclasspath property is only a temporary solution. The drawback is that when ever you change/view the project properties, platform.bootclasspath will revert back to its original.. What I do is to comment my edited platform.bootclasspath (with a #) and copy and paste it whenever the property is reverted.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo