Unable to connect to j2me device emulator

I'm having trouble testing Midlet. I am using j2me sdk 3, the Midlet build completed successfully, but when I try to run it, it fails and displays the following log message:

Failed to connect to device {0}!
  Reason:
  The emulator {0} has completed, waiting for its registration!

+3
source share
5 answers

I had the same problem. On the next reboot, where the runMidlet error message is associated with DEP (Data Execution Prevention).

After disabling DEP, everyone started working perfectly.

In case this could help, it was on Win2003, Java ME SDK 3.0.

UPDATE: DEP ( " DEP Windows" ). DEP runMidlet.exe .

. Java ME SDK Team

+5

, - . WTK 2.5.x, , ( Netbeans?) 3.0.

Eclipse Netbeans.

+1

tools/java, CLDC Framework blah blah blah "".

0

If you use Linux as an operating system, you need to enter the command "setenforce permissive" in the terminal. This will solve the problem. Rishabh

0
source

Besides the DEP problem mentioned in other answers, there is a useful list of solutions to common problems here .

0
source

Source: https://habr.com/ru/post/1714408/


All Articles