Estou com problemas para utilizar o eclipse em modo DEBUG.
Com a openJDK ele funciona perfeitamente, porém, após instalar
a Sun-java6-jdk, o eclipse não entra no modo DEBUG(apesar de
compilar o código). O erro é: Cannot connect to VM Socket closed ERROR: transport error 202: connect failed: Connection refused ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:708] FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) Para selecionar a máquina virtual do java, executei o seguinte: root@debian:/home/bruno# update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode 2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode Press enter to keep the current choice[*], or type selection number: 2 update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java to provide /usr/bin/java (java) in manual mode. Detalhes: * Debian Squeeze * Eclipse e JDK 64 bits * Kernel 2.6.32-5-amd64 Alguma sugestão? |