Java Me platform issues in NetBeans

Archit Arora picture Archit Arora · Apr 7, 2014 · Viewed 7k times · Source

I have installed Netbeans 8.0 that comes with pre installed Java ME plugin. Now when I tried to create a new Java ME project it said No Java ME Platform found. Please add at least one

Also, the field "Java ME platform" was blank. So I clicked on Manage platforms and added Java ME CDLC Emulator Platform and gave the path to JAVA ME SDK. It discovered the platform and added the devices.

After doing this, the field "Java ME platform" is still blank and I'm not able to select the Java Me platform.

Please help!

Answer

user946565 picture user946565 · Oct 30, 2014

Had the same problem during installation on a new PC. I'm developing for J2ME, CLDC 1.1, MIDP 2.1, but I just couldn't manage to add a platform that would allow me to compile and run my app on an emulator.

The PC is a 64-bit PC, and I'm using the SDK 3.4, which is 32 bit so finally I installed Virtual Box, Windows 7 32-bit as guest, and finally it worked - installed first java jdk-8u25-windows-i586 - then netbeans 8 netbeans-8.0.1-windows - once netbeans installed, activated java me plug in, there was no need to install it, it's pre-installed - then java me sdk 3.4 oracle-jmesdk-3-4-rr-win32-bin - then in netbeans, tools - java platforms, add the platform java me 3.4 just installed

Now I can emulate my app again