title: Unable to debug in Java with eclipse
body: <p>I am trying to debug a simple Java application on my machine using Eclipse as an IDE. When I try to debug the application by entering the Debug Perspective, I set a breakpoint and start debug. Within a few seconds, the following pop-up window:  </p>
  
  <p><code>Launching unicodeRead has encountered a problem. Cannot connect to VM</code>.  </p>
  
  <p>The message dumped on the console is as follows:  </p>
  
  <pre><code>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)  
  </code></pre>
  
  <p>How do I correct this? Why does this happen?</p>