Hi, when i try to debug the java programe , it says "Cannot find a free socket for the debugger in eclipse".Could you explain how to resolve the error ?
A:
As in this thread, you might want to explicitly mention the path of the JVM you are using to execute eclipse.
See this eclipse.ini
as an example.
- bug 12132 mentioned incorrect socks proxy information.
- bug 27654 refered to a configuration problem (firewall, antivirus?)
The usual checks (some are Windows specifics) are:
- switch off the vista firewall (it wasn't activated, to be precise)
- add a firewall rule for
java.exe
/javaw.exe
/eclipse.exe
and reactivated it (just to be sure it didn't interfere although it was deactivated)- deactivated my antivirus tool (avira antivir)
- ran eclipse as administrator
- disabled UAC
- activated/deactivated wired and wireless network interfaces
- changed priorities of the network interfaces
- used different jvms (1.6 and 1.7)
- created an entirely new workspace
VonC
2010-03-14 11:44:28