Friday, October 19, 2012

netbeans Failed to connect to device 6! Reason: Emulator 6 failed to register in time

Failed to connect to device 6!
Reason:
Emulator 6 failed to register in time!

 
So you encounter this error when you are run netbeans right?
This is normally a data execution prevention issue. DO the ff.

Goto
control panel>>system>>advance system settings>>advanced tab>>settings under performance field set>>data execution prevention tab>>Turn on DEP for all programs and services except those I select

add "runMidlet.exe" as an exception by navigating to its directory in your netbeans installation folder
in my case it was located here

NetBeans/mobility/Java_ME_platform_SDK_3.0/runtimes/cldc-hi-javafx/bin

Restart your PC and you are good to go.
Sometimes you may have to go on to disable your firewall and antivirus if it is still not working.

If still not working, you are not out of luck...
In your netbeans, go to tools>java platforms>>CLDC Oracle Java(TM) Plaform Micro Edition SDK 3.0.5>>Click refresh
Do it again if it fails.
Then you should be good to go.
Hope this helps someone. :)

2 comments:

  1. thank for your info..
    this is so help full for newbie like me :D

    sorry I can't speak english and if there are talk's wrong. i'm so sorry

    ReplyDelete