I try to debug the applet for 2 days, and I reviewed all the solutions posted on this site, but I can not find my error.
In my Java Runtime environment settings, I created all my JREs with parameters:
-Djava.compiler=NONE -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
When I launch the applet in any browser and confirm the new security dialog with Java, the applet starts - everything is fine. However, when I run my debugger in Eclipse with the settings:
- Type of connection: standard (jack for connection)
- Host: localhost
- Port: 8000
I get this error:
"Applet Launch" has encountered a problem. Failed to connect to the remote virtual machine.
In the details pane:
Failed to connect to the remote VM network. Invalid: connect
Ping output for localhost:
ping localhost Pinging myhostename.mydomain [::1] with 32 bytes of data: Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms
What is my terrible mistake?
Oli
source share