How to make a j2me project in NetBeans 7.0?

2019-07-28 12:13发布

问题:

I have installed Netbeans 7.0 (in window xp SP3) and I also installed "Wireless Toolkit 2.5".

But when I open Netbeans

File->New Project

then there is only option for Java SE and Java EE.

Not for Java ME.

I also try

Tools-> Plugin -> and search for Java ME

but I was not able to find "Java ME".

回答1:

At first install 'Mobility' plugin for NetBeans IDE for J2ME development. You can do this from Tools > Plugins > (Select and install). Then DO this.. In netbeans, Tools>Java Platforms>Select Add Platform>Select Java ME MIDP platform emulator > select the one you installed now (Wireless Toolkit 2.5(location))



回答2:

AFAIK you didn't use the Java ME supported Netbeans bundle. Download Netbeans with All(Its including Java ME) supported technologies and reinstall the Netbeans.

Edit: Netbeans 7.0 having Java_ME_platform_SDK_3.0. If you want to integrate Sun Java Toolkit 2.5, Just follow the @Sanjay steps.