Java ME SDK 3.0.5 Integrated with NetBeans 7.1.1

NetBeans 7.1.1 now integrates Java ME SDK 3.0.5, so you do not have to download them separately. Java ME SDK was packaged in NetBeans Mobility Pack, a mobile application development toolkit for NetBeans. Therefore, Java ME SDK is no longer a separate menu on NetBeans.

For those who have not downloaded Java ME SDK yet, please simply visit NetBeans website and download the latest version. For those who already have Java ME SDK integrated with NetBeans 7.1 or earlier, and want to update NetBeans IDE to 7.1.1, don't worry. They can co-exist.

To use NetBeans plug-ins such as Device Selector, profiler, and Internationalization Resource Manager, you have to install "Java ME SDK Tools" from NetBeans. Here is how.

1.  Go to "Tools - Plug-ins" from NetBeans menu. You can find all the plug-ins you can install into NetBeans. Locate "Java ME SDK Tools" from the list.

2. Follow the instruction to install Java ME SDK Plug-ins.

3. Once completed, you will see new menu options. For example, you can find Device Selector under Tools - Java ME. (If you used old version of Java ME, you will notice that there is not 'Java ME' menu any more. This is because all the sub-menus were integrated into appropriate places in NetBeans.)

There is one thing to keep in mind; Since NetBeans 7.1.1 already includes Java ME SDK 3.0.5 and Java ME SDK 3.0.5 plug-ins must be installed through NetBeans plug-in menu, you should not download Java ME SDK 3.0.5 separately and try to integrate it with NetBeans. This may cause issues.

Comments:

is very good

Posted by guest on April 09, 2012 at 10:24 AM PDT #

what if I dont have internet at home, but would like to download the plug-ins at my work space or internet cafe? so that I could install them later when I get home. How do I get around that?

Posted by guest on April 15, 2012 at 10:46 PM PDT #

You say that NetBeans 7.1.1 now integrates Java ME SDK 3.0.5, so we do not have to download them separately. I have read the same note on the Java ME SDK download page and tried to apply it. I downloaded and installed NetBeans 7.1.1 and installed Java ME SDK Tools through its plugin manager. But when I was creating a Java ME project I got a notification that at least one Java ME Platform must be installed and that I have to specify it in the project creation wizard. Hence I was forced to download and install Java ME SDK 3.0.5 and then it worked. But I can't run Java ME projects and I get this error message on the out put window:
"...Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/C%3A/Users/User/Documents/NetBeansProjects/CurrencyConverter1/dist//CurrencyConverter1.jad
Starting emulator in execution mode
*** Error ***
Failed to connect to device 6!
Reason:
Emulator 6 terminated while waiting for it to register!
C:\Users\User\Documents\NetBeansProjects\CurrencyConverter1\nbproject\build-impl.xml:782: Execution failed with error code 1.
BUILD FAILED (total time: 13 seconds)"

Could you please help me fix this problem? I have tried all possible solutions available online including your " first aid when emulator doesn't start" and I am resorting to your help as the last option. Please note the following points that may help you diagnose my problem.

- Windows 7 Ultimate 32-bit Operating System is in use and JDK 6 update 31 32-bit version is installed.

- runMidlet.exe is exempt from Data Execution Prevention and both the JDK 6 Platform and the NetBeans are in the list of programs allowed through Firewall.

- The Java ME installation directory doesn't have msvcrtXX.dlls. Folders runtimes\\cdc-hi\\bin and runtimes\\cldc-hi\\bin( Note: I see no runtimes\\cldc-hi-javafx folder) both have Microsoft.VC80.CRT. But Microsoft.VC80.CRT doesn't have msvcrtXX.dlls. Could this be the cause of the problem? The first possible cause you mentioned in your " first aid when emulator doesn't start" seems to be relating to this.

- The device log contains the phrases "....Remote object server is not running at service:jmx:rmi:///jndi/rmi://adobeereg.com:60081/device-manager
[ 11950]..." and "...Caused by: java.lang.Exception: Connection failed
at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)..."

- When debugging the project I get the message "...Cannot create PortForwarder with necessary parameters: Failed to connect to device 6!..." in its output and "Attaching to localhost:49822...Connection refused" in the debugger console output.

- The IDE Log displays the following warnings: "...WARNING [org.netbeans.core.modules]: Use of OpenIDE-Module-Class: Loader in org.netbeans.modules.javame.netmon is obsolete.
WARNING [org.netbeans.core.modules]: (Please use layer-based installation of objects instead.)
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.form.nb, org.netbeans.modules.javame.deviceselector, org.netbeans.modules.javame.jsr205, org.netbeans.modules.javame.jsr211, org.netbeans.modules.javame.jsr229, org.netbeans.modules.javame.jsr238, org.netbeans.modules.javame.netmon, org.netbeans.modules.javame.toolbar, org.netbeans.modules.javame.wurfl] use org.jdesktop.layout which is deprecated: Use javax.swing.GroupLayout instead. (In form editor: select Form ... in Inspector; change Layout Generation Style to Standard Java 6 code.)
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.db.sql.editor, org.netbeans.modules.editor.structure, org.netbeans.modules.java.editor, org.netbeans.modules.java.editor.lib, org.netbeans.modules.web.core.syntax, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
WARNING [org.openide.filesystems.Ordering]: Not all children in Services/JavaHelp/ marked with the position attribute: [javahelp-helpset.xml], but some are: [org-netbeans-modules-usersguide-helpset.xml, org-netbeans-modules-java-helpset.xml, org-netbeans-modules-web-helpset.xml, org-netbeans-modules-j2ee-helpset.xml, org-netbeans-modules-mobility-javahelp-helpset.xml, org-netbeans-modules-profiler-helpset.xml, org-netbeans-modules-tomcat5-helpset.xml, org-netbeans-modules-web-monitor-resources-helpset.xml, org-netbeans-modules-db-docs.xml, org-netbeans-modules-dbschema-docs.xml, org-netbeans-modules-subversion-resources-helpset.xml, org-netbeans-modules-apisupport-project-docs.xml, mercurial-helpset.xml, git-helpset.xml, org-netbeans-modules-maven-docs.xml]
log4j:WARN No appenders could be found for logger (com.sun.jme.toolkit.bootstrap.DeployerManager).
log4j:WARN Please initialize the log4j system properly.
Couldn't read user system properties file C:\Users\User\.\javame-sdk\3.0.5\user.system.properties
Couldn't read user system properties file C:\Users\User\.\javame-sdk\3.0.5\user.system.properties
Couldn't read user system properties file C:\Users\User\.\javame-sdk\3.0.5\user.system.properties
Couldn't read user system properties file C:\Users\User\.\javame-sdk\3.0.5\user.system.properties
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator at org.netbeans.spi.project.support.ant.PropertyUtils.userBuildProperties(PropertyUtils.java:97)
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator at org.netbeans.modules.mobility.project.J2MEProject$4.run(J2MEProject.java:537)
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator at org.netbeans.modules.versioning.VersioningManager.getLocalHistory(VersioningManager.java:485)
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator at org.netbeans.modules.spellchecker.ComponentPeer.getUsersLocalDictionary(ComponentPeer.java:437)
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator at org.netbeans.modules.masterfs.providers.Attributes.getRootForAttributes(Attributes.java:104)
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator at org.netbeans.modules.uihandler.Installer.logsDirectory(Installer.java:780)"

I will be grateful to you for your help. I wish to hear from you soon.

Posted by Chernet on April 18, 2012 at 12:33 AM PDT #

I am product manager of Java ME SDK, and I appreciate your comment on the blog. I forwarded this to engineering. It seems that several other people also have the same issues. I will follow up on this.

Posted by Java ME SDK Team on April 18, 2012 at 03:26 AM PDT #

Sorry it's also not working for me. Win7 x64 NB 7.1.1. NB says that there is no J2ME compatible platform found after plugin install when creating a project. JDK is 32 bit version. Netbeans install is fresh.

Greetings

Posted by guest on April 24, 2012 at 04:00 PM PDT #

Dear @guest, did you install the full version of NetBeans? There are multiple variations, and you should install the full version.

Posted by Java ME SDK Team on April 26, 2012 at 10:58 AM PDT #

Thanks a lot! It worked for me with the full install. I first downloaded only the Java SE Version, because i've got low bandwidth and only need to add the ME part for my development.

Greetings

Tammo

Posted by guest on April 27, 2012 at 04:46 AM PDT #

hello,

Im having the same problem, but once in a while, when i change the device in which the midlet emulates, the program runs. i hope this could help us to solve this issue.

thanks

Posted by javiertoquica on May 26, 2012 at 05:39 PM PDT #

Please some should help me. I had the following errors while trying to activate javame sdk.
Activation failed: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.javame.kit jarFile: C:\Program Files\NetBeans 6.9\extra\modules\org-netbeans-modules-javame-kit.jar, StandardModule:org.netbeans.modules.mobility.end2end.kit jarFile: C:\Program Files\NetBeans 6.9\mobility\modules\org-netbeans-modules-mobility-end2end-kit.jar, StandardModule:org.netbeans.modules.mobility.kit jarFile: C:\Program Files\NetBeans 6.9\mobility\modules\org-netbeans-modules-mobility-kit.jar]

Posted by guest on June 26, 2012 at 11:36 AM PDT #

@guest right above, it seems that you are using NetBeans version 6.9. Java ME SDK 3.0.5 supports only NetBeans version 6.9.1 or later. Please try again with a latest NetBeans.

Posted by Java ME SDK Team on June 27, 2012 at 10:53 AM PDT #

Is tere a solution available for the problem posted by chernet. I an facing the same issue. Help apperciated

Posted by guest on July 12, 2012 at 07:45 AM PDT #

@guest: @chernet was running ME SDK on Windows 7 which is not officially supported. Please note that it worked for @Tammo after a full installation.

Posted by Java ME SDK Team on July 16, 2012 at 10:54 AM PDT #

I had the same problem as the 3rd guy, the "Emulator 'x' terminated while waiting for it to register!" message keeps coming. I tried it on both netbeans 6.9.0 and 7.1, but it doesn't work. But the 3.0 j2me sdk works fine. I've win7 x86 with jdk 1.7/1.6 u 22

Posted by guest on July 28, 2012 at 02:40 AM PDT #

Hello everybody,
I had the following error while trying to activate the Java ME plugin on Netbeans 7.2.
Activation failed: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.mobility.kit jarFile: D:\Program Files\NetBeans\mobility\modules\org-netbeans-modules-mobility-kit.jar]
I installed with the full package, checked Base IDE, Java SE, Java ME and Features on Demand. Java SE works fine.
My computer is running Windows 7 SP1 64-bit, JDK 7u4 32-bit, JRE 7u5 32-bit. Netbeans 7.1.2 activates plugin Java ME with no problem.
Could someone help me with this issue? Thank you very much.

Posted by Long on July 30, 2012 at 08:16 AM PDT #

I downloaded Netbeans 7.2 which comes with the 3.0.5 toolkit. The emulator runs fine, but there is no option to configure bluetooth emulation.
There is also no "Java ME" menu option as shown in these screenshots. What's going on?

Also, why do you say Windows 7 is not supported? It's been out for a while. Wouldn't it make sense to support current versions of Windows?

Posted by Desty on July 31, 2012 at 04:22 AM PDT #

Sir this eror came evry time and i can not install java me sdk.
Some plugins require plugin org.netbeans.api.mobility to be installed.
The plugin org.netbeans.api.mobility is requested in version 8.3.1. The following plugin is affected:       Java ME SDK Tools

Posted by guest on July 31, 2012 at 11:42 PM PDT #

Is the only solution to install the full bundle? I would rather not do that because of bandwidth constraints..and seeing that i already invested into downloading the EE bundle and updating the plugins

Posted by guest on August 24, 2012 at 04:59 AM PDT #

@guest: Actually, you don't have to install the full bundle. You can install Java ME SDK 3.0.5 separately, and then register it from the "Tools - Java Platforms" menu.

Posted by guest on August 24, 2012 at 09:39 AM PDT #

The docs for the SDK warn against that approach saying that since the SDK is now integrated with Netbeans separate download and integration would casue issues.I have not tried it so I cannot confirm it.

Posted by guest on August 24, 2012 at 08:47 PM PDT #

I have been unable to start the profiler it works fine for other project types but is grayed out when I select any Java ME projects. I tried to start it by invoking the emulator at the command prompt and supplying appropriate arguments(Xprofile to start cpu profiler and Xnetmon to start network monitor) but the emulator started without the profiling tools.

Next,I tried re-installing Netbeans hoping that would clear any configurations issues I might have ran into but still no luck.

Environment: I'm using Windows 7 64bit with Netbeans 7.2 and I've installed Java SDK tools.

Other Info: When I select the unintegrate profiler from project(under Advanced Commands under the Profile Menu) I get a message that it is not integrated in the first place but I have no idea how trigger this integration. When I select the calibrate profiler option I only see JDK 1.& platform and none of my Java Me Platforms.

I am not sure what the profiler is dependent on or of the quirks of Netbeans so I may not have provided enough information any pointers for more relevant information will be appreciated.

Posted by guest on August 24, 2012 at 08:48 PM PDT #

@guest(1): Right, the doc warns against such approach, but it is worth trying if you cannot download the full version.

@guest(2): Thanks for reporting this issue. I forwarded this to the engineering team.

Posted by Java ME SDK Team on August 27, 2012 at 09:21 AM PDT #

@guest(2): The team has found issues with NetBeans version 7.2. Can you try with NetBeans 7.1.2, or the upcoming release (7.2.1)?

Posted by Java ME SDK Team on August 27, 2012 at 09:36 AM PDT #

I have install full netbean 7.2 32bit. But still having runtime error while executing any J2me sample application. I already tried all the methods posted by you Like DEP exclusion but it can't work. please help?
When I trying to execute j2me application then
Java(TM) Me Platform SDK 3.0.5 Device Manager shown in the Quick Lanch
and screen errors in
Failed to connect to device 6!
Reason:
Emulator 6 terminated while waiting for it to register!
C:\Documents and Settings\Owner\My Documents\NetBeansProjects\CurrencyConverter1\nbproject\build-impl.xml:782: Execution failed with error code 1.
BUILD FAILED (total time: 39 seconds)
Please help. I appreciate you in advance!!!!

Posted by vinayak on September 21, 2012 at 04:34 AM PDT #

Failed to connect to device 6!
Reason:
Emulator 6 terminated while waiting for it to register!
C:\Documents and Settings\Owner\My Documents\NetBeansProjects\CurrencyConverter1\nbproject\build-impl.xml:782: Execution failed with error code 1.
BUILD FAILED (total time: 39 seconds)

my solution:
in the 'device selector', select the Java (TM) ME SDK 3.0.5 and right click select properties. select manual proxy settings. host: localhost and port: I use 8080. but I do not know if this is related with the database that I created.
hopefully this helps you

Posted by mooz on October 03, 2012 at 02:55 PM PDT #

do i need to configure the j2me emulators as my applications playing audio and videos are not heard or show and no exceptions thrown infact the program works just fine as an empty video item is placed on the form.

Posted by jimmy on October 26, 2012 at 12:28 AM PDT #

How to run MIDLET in Java ME SDK 3.0.5 in with out IDE http://madhukaudantha.blogspot.com/2012/10/how-to-run-midlet-in-java-me-sdk-305.html

Posted by guest on November 08, 2012 at 04:11 AM PST #

@guest, Informative. Thanks.

Posted by Java ME SDK Team on December 04, 2012 at 10:45 AM PST #

Was very usefull

Posted by guest on December 20, 2012 at 05:27 AM PST #

Copying 1 file to C:\Users\acer\Documents\NetBeansProjects\final\dist\nbrun45641
Copying 1 file to C:\Users\acer\Documents\NetBeansProjects\final\dist\nbrun45641
Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/C%3A/Users/acer/Documents/NetBeansProjects/final/dist//final.jad
Starting emulator in execution mode
*** Error ***
Failed to connect to device 8!
Reason:
Emulator 8 terminated while waiting for it to register!
C:\Users\acer\Documents\NetBeansProjects\final\nbproject\build-impl.xml:781: Execution failed with error code 1.
BUILD FAILED (total time: 2 seconds)

Posted by guest on December 22, 2012 at 12:55 AM PST #

Microx Solutions is a fully integrated web development ,IT consulting and solutions outsourcing company, providing website solution to not only start-up but to the multi-functions eCommerce website to help your business exceed its technological expectations. 

Posted by Software development on January 09, 2013 at 01:56 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Java ME Platform SDK is a toolbox for developing mobile applications. Java ME SDK Download

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today