10-16-2008 01:16 AM
I setup eclipse for blackbery development enviornment using this article ( http://www.blackberryforums.com/developer-forum/13
after all, I succeed compiling blackberry app on eclipse. but, when I clicked debug icon, I can't switch to debug mode. I can't connect to JDWP from eclipse.
I launched JDWP and not 'launch simulator', before clicked debug button on eclipse.
error message is "Cannot connect to VM".
what's wrong with me? can anyone point out my fault?
error message screenshot is attched.
10-16-2008 09:28 AM
10-16-2008 12:52 PM
Thank you for reply.
I installed JDE plugin on eclipse 3.3.1.
But, error message knock my head again.
Error Message :
Cannot connect to VM
What should I do for solve this problem?
10-16-2008 02:51 PM
10-16-2008 02:57 PM
No, I don't use it.
When I launched JDWP, i8000 Port should be running on JDWP? (even if simulator didn't launched yet)
because, I checked it using 'netstat -an'. but 8000 port is not running...
10-16-2008 04:00 PM
The port used is specified in the Communication tab of the BlackBerry JDWP application. Is this port active after you launch the BlackBerry Simulator?
What version of the BlackBerry JDE Component Pack do you have installed? What version of JDK are you using?
10-16-2008 08:09 PM
Hi, It happens to me alot, with Eclipse and Netbeans
What I do is go to:
C:\Program Files\Research In Motion\BlackBerry JDE 4.X.X\simulator\clean.bat
Then it runs a cmd and cleans variables and other things.
Then re-start your IDE an try again.
I worked for me, hope it works for you, btw, I created a shortcut in my desktop, I do a clean every morning and it works fine all day
10-17-2008 01:55 AM
I changed BB's port to 8081, and it's status is 'LISTENING', now.
and.. I use JDK jdk1.5.0_16 / BlackBerry JDE Component Package 4.3.0.
but, I still got a message 'Cannot connect to VM'.
If I change simulator's port, should I change setup on eclipse, too?