tags:

views:

1706

answers:

3

I am having trouble in testing a Midlet. I am using j2me sdk 3, the Midlet builds successfully, but when i try to run it, it fails and it shows the following message in the log

Failed to connect to device {0}! Reason: Emulator {0} terminated while waiting for it to register! please advise

+1  A: 

You probably need to increase the debugger timeout value. I work in WTK 2.5.x so I'm not sure where this setting is exposed (are you on Netbeans?) in version 3.0.

Somewhat out-of-date instructions for Eclipse and Netbeans.

A: 

Just go to tools/java platform, select the CLDC Framework blah blah blah and Click refresh.

Akintayo A. Olusegun
I don't understand this answer. Please could you provide some more details, and perhaps tidy it? Many thanks.
jamesh
A: 

Although my previous answer works for some people, if it doesn't work for you, and you are on a mac, do the unthinkable...reboot your mac, yea you heard me right...reboot your MAC

Akintayo A. Olusegun
Yea,It did not work for me though i was using win xp.i solved the problem by setting debug.delay value 50000 which was previously 5000 in build-impl.xml file.
russell