When I attempt to launch debug for a main() class by right-clicking on the file in the Package view and selecting "Debug", the "Variables" window first lists the message . A "Run Error" dialog then appears stating "Error running Test: Unable to open debugger port : java.net.SocketException "socket closed".
The console window java command shows:
java -Xdebug -Xrunjdwp:transport=dt_socket,address=127.0.0.1:2307,suspend=y,server=n -Dfile.encoding=windows-1252 -classpath ... Test
The JDK I am using is 1.4.2_11.
I'm just trying to run a main() method and observe the output in the console using System.out.println() statements. Can someone help me understand what I am doing wrong?