> Huh... when I try -classic -Xdebug, I get: > Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/agent/Agent > Could not create the Java virtual machine. > > Running just -classic works, but adding the -Xdebug gives me the above barfage.
It should be the very first argument to java! This one works for me (running it via ant) jdk-1.3.1_02\jre\..\bin\java.exe -classic -Xrunjdwp:transport=dt_socket,addr ess=2112,server=y,suspend=y -Xdebug -Xnoagent -