Recently I couldn’t debug my application using eclipse 3.2, it will throw “Could not connect to VM”. And in the console there is a log
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113) ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_LOAD(509) ["debugInit.c",L476] JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initialized
I am using Ubuntu 7.04, after a googling session, it seems that there are a lot of people have the same problem.
I found the solution in java forum, and add
127.0.0.1 localhost in my
/etc/hosts solve the problem.
Filed under: Software Dev |