Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDB Is Flat Broken

843810Apr 17 2005 — edited Apr 17 2009
I'm a novice java programer learning to use jdb. No matter what program i throw into jdb I get the same error; be it as root or my regular user "pat" and with or without breaks set via the "stop at" command I always get this
> run
run students
VM start exception: VM initialization failed for: /opt/sun-jdk-1.5.0.01/jre/bin/java -Xdebug -Xrunjdwp:transport=dt_socket,address=gentoo:32781,suspend=y students

ERROR: transport error 202: connect failed: Connection refused ["transport.c",L41]
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L497]
JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initializedFATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)

Fatal error:
Target VM failed to initialize.
It seams to be an issue with the VM, any input would be much apreiciated; and yes... I've compiled all programs which I've tried to put through jdb with "javac -g".
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2009
Added on Apr 17 2005
16 comments
1,048 views