0 - in Windows (x being a version number)
Program Files\NetBeans 6.x\nb6.x\modules
If you can’t find this folder just search for “de-enough-polish-netbeans.jar” as this is the file you need to edit. Open up “de-enough-polish-netbeans.jar” with a zip program (Winrar, rileroller, Winzip, etc) and edit the file at META-INF/MANIFEST.MF wih a text editor (notepad.) There will be a sentence that states:
org.netbeans.modules.java.platform/1 > 1.10
Change it to
org.netbeans.modules.java.platform/1 > 1.0
-----------------------------------------------------------------------------
1 - in build.xml exchange the value of A with B
A:
<deviceRequirements if="config.active:defined and (test or enableCompilerMode)" >
<requirement name="Identifier" value="${config.active}" />
</deviceRequirements>
B:
<deviceRequirements>
<requirement name="Identifier" value="Generic/Midp2Cldc11" />
</deviceRequirements>
-----------------------------------------------------------------------------
2 - in path "\nbproject\project.properties" exchange the value of C with D
C:
platform.active=*************
platform.active.description=****************
D:
platform.active=Sun_Java_TM__Wireless_Toolkit_2_5_2_for_CLDC
platform.active.description=Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC
-----------------------------------------------------------------------------
3 - in path "\nbproject\project.properties" replace All repeation of "Platform Emulator" with the "Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC"
-----------------------------------------------------------------------------
4 - in Project.xml
delete Configuration Tag that is inner
-----------------------------------------------------------------------------
5 - in Netbeans IDE , is left side , in projects window , right click on your project and set the emulator to Sony Erricsson ( it means that you need to download the sonyErricsson SDK too )