Released: Java ME Platform SDK 3.0 now available

Java ME SDK team is happy to announce availability of Java ME Platform SDK 3.0.

Java ME SDK 3.0 is the successor to the popular Java Wireless Toolkit 2.5.2 and Java Toolkit 1.0 for CDC. It provides device emulation, a standalone development environment and a set of utilities for rapid development of Java ME applications.Users will get all-in-one for cldc/midp, cdc and BD-J development.

Among new features are:

  • on-device deployment and on-device debugging
  • CLDC runtime based on PhoneME Feature
  • optimized MSA 1.1
  • new development environment based on Netbeans platform
  • integrated profiler and network monitor
  • lightweight UI Toolkit (LWUIT) support
  • device database WURFL search tool
  • BD-J support
  • Windows Mobile Java VM included

Read more details on Java ME Platform SDK 3.0 page.

Submitt questions to other users in Java ME SDK forum.  

Comments:

Where are the versions for Linux or OpenSolaris. Is there anything in the pipeline?

Posted by Stephan Bardubitzki on April 22, 2009 at 12:04 AM PDT #

run sdk 3.0 , get an error :

[ 282] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[ 328] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[ 328] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[ 328] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[ 344] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[ 547] ERROR - un.jme.toolkit.bootstrap.Batch - Problem calling start() on RmiRegistryService
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
at com.sun.jme.toolkit.bootstrap.Namespace.startBatch(Unknown Source)
at com.sun.jme.toolkit.bootstrap.MainNamespace.runModules(Unknown Source)
at com.sun.jme.toolkit.bootstrap.MainNamespace.run(Unknown Source)
at com.sun.jme.toolkit.bootstrap.Container.run(Unknown Source)
at com.sun.jme.toolkit.bootstrap.Container.main(Unknown Source)
Caused by: java.rmi.server.ExportException: Port already in use: 1299; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:68)
at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:222)
at com.sun.jme.toolkit.remoting.registry.rmiimpl.RmiRegistryService.start(Unknown Source)
... 12 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.sun.jme.toolkit.remoting.shared.rmiimpl.LoopbackSocketFactory.createServerSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
... 20 more

it seems there is a port already used.

then I got a Unexpected Exception Error dialog with the message:

A java.io.IOException exception has occurred.
Click Show Details or see the messages.log file located in your C:\\Documents and Settings\\myc\\javame-sdk\\toolbar\\3.0\\var\\log folder

when i click the cacel button. after a little while , the error dialog shows again , again and again.

i can not going into the sdk .

Posted by ryan on April 22, 2009 at 04:48 PM PDT #

Hi ryan
it looks that internal port that sdk uses is taken. You can switch to another one.
First of all switch off sdk or kill it. Exit also device-manager. Its icon is in system tray.
\* Go to %SDK_INSTALL_DIR%/toolkit-lib/modules/bootstrap/conf/system.properties
\* Change port number in property device-manager.object-registry.port=1299 to something else for example 1399.
\* Start device manager %SDK_INSTALL_DIR%/bin/device-manager.exe
\* Try to run emulator from comandline: %SDK_INSTALL_DIR%/bin/emulator.exe -Xjam

hope this helps

Go to

Posted by Tom on April 22, 2009 at 06:41 PM PDT #

asfasd

Posted by rojin on April 22, 2009 at 07:12 PM PDT #

any update in this..
me too getting the same error

Posted by himanshu on June 12, 2009 at 08:37 PM PDT #

I had a similar startup problem but this time problem was due to a misconfiguration of localhost at hosts file.

http://www.ceviktavsan.com/java-me-sdk-startup-problem/

Posted by Ali Utku Selen on June 16, 2009 at 07:24 AM PDT #

OK

Posted by Juris Slezins on June 29, 2009 at 05:14 AM PDT #

same problem.. changing the port number worked for me.. just do what Tom said

Posted by larsking on July 11, 2009 at 01:31 PM PDT #

Thanks God!!!!
http://www.ceviktavsan.com/java-me-sdk-startup-problem/
it really worked!!!

Posted by Izabela on August 20, 2009 at 02:03 AM PDT #

How can i make my saved program will turn into a .exe file extention

Posted by starstruck on September 10, 2009 at 01:02 PM PDT #

the host file was ok both, the IPv4 and IPv6 were defined
i had no port property defined in: /toolkit-lib/modules/bootstrap/conf/system.properties

finally i found out (by shutting down everything that uses ports \^\^) that my running steam client was using the port. maybe that helps.

Posted by teaage on November 30, 2009 at 10:17 PM PST #

ok sadly the problem is back on and nothing above helped me out -.-

it worked fine a week ago don't know why it doesn't now

i'm running a 64bit Win7.

Posted by teaage on November 30, 2009 at 11:29 PM PST #

Thanks to Ali Utku Selen, it works now. \^+++++++++++++++++\^

Posted by StarletC on December 10, 2009 at 10:32 AM PST #

Am running XP sp3 all the above did not work for me!!

My emulator just won't work.. I reinstalled windows, reinstalled both the toolkit and Netbeans 6.8 I still get this error:

Starting emulator in execution mode
\*\*\* Error \*\*\*
Failed to connect to device 4!
Reason:
Emulator 4 terminated while waiting for it to register!
C:\\Documents and Settings\\shax\\My Documents\\NetBeansProjects\\MobileApplication1\\nbproject\\build-impl.xml:889: Execution failed with error code 1.
BUILD FAILED (total time: 23 seconds)..

Posted by shax on February 15, 2010 at 02:58 AM PST #

Pls look at entry http://blogs.sun.com/javamesdk/entry/first_aid_when_emulator_doesn

Posted by Tomas Brandalik on February 15, 2010 at 04:49 AM PST #

*** Error ***
Failed to connect to device 6!
Reason:
Emulator 6 terminated while waiting for it to register!

Please help me to solve this problem.

XP sp-3,j2me SDK 3.0

Posted by guest on July 07, 2011 at 12:21 AM PDT #

Hi
When program starting modules, write this err:

java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)

...

at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
at org.netbeans.core.startup.Main.start(Main.java:312)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
[catch] at java.lang.Thread.run(Thread.java:722)

(W7 64bit)

Posted by Martin on January 19, 2012 at 10:25 PM PST #

*** Error ***
Failed to connect to device 6!
Reason:
Emulator 6 terminated while waiting for it to register!

Please help me to solve this problem.

i've tried excluding from DEP but doesn't work.

OS-Win 7
netbean 7.2

Posted by guest on December 23, 2012 at 02:46 AM PST #

There is no option to change Port number in system.properties. How to proceed?

Posted by Veer on February 22, 2013 at 06:43 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