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".