views:

48

answers:

2

I have installed Netbeans 6.9 Java SE version. I have then added the plugin 'Mobility'.

Now although I see the wizard for creating Java ME applications, it stops at the following stage: http://i.imgur.com/WGEtl.png

It says that there is no compatible platform for Java ME installed. And in fact, there is no "C:\Program Files\NetBeans 6.9\mobility" folder. Can I install any additional plugins to get the Java ME 3.0 SDK that is supposedly bundled with Netbeans?

+1  A: 

Java ME 3.0 SDK is bundled with the Java version (which is also referred to as a bundle)... not the Java SE bundle of NB.

See http://netbeans.org/downloads/index.html for details.

There does not appear to be a plugin that you can download to install (and register) the Java ME 3.0 SDK after installing the Java SE bundle.

You will need to download the Java ME 3.0 SDK installer, install the SDK, and register the manually installed SDK with the IDE.

vkraemer
Thanks, in that case I will probably download the WTK 2.5.2 instead of Java ME 3.0 SDK. I have already worked with it, Java ME 3.0 SDK seems bloated with stuff I don't need. Let me know if you feel otherwise.
KalEl
A: 

Hey! I've answered this question already! And you didn't even look!

I also had this problem. I managed to solve it for NetBeans 6.8. (I still use it, and recommend it)

Since version 6.8 (or maybe earlier), NetBeans has SDK of version 3.0 built-in. But in my opinion, version 2.5.2_01 is much better. You should download and install it, then add it as Java ME platform in NetBeans.

And... yes. NetBeans should be "enough for J2ME development". But, it's better to also install Sun Java Wireless Toolkit 2.5.2_01 for CLDC

BlaXpirit
I am sorry I couldn't follow your answer.1. You solved the same problem - either the problem you mention is different (more below) or the solution is not clear.2. "Netbeans has SDK 3.0 built-in" "You should download and install" 2.5.2_01 - while I agree it's probably better, I wouldn't install another SDK if Netbeans already has 3.0. It is also not clear that it is available only with the Java 'bundle' - and installing the Mobility addon does not automatically add it. And the problem sounds like that Netbeans has SDK 3.0, while it should pack WTK 2.5.2.
KalEl