Windows 7 x64 and the newest java version (didn't work any better with u21 though)
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
When trying to start a java application to debug it remotely I get the following error:
java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=n <application>
ERROR: JDWP option syntax error: -agentlib:jdwp=server=y transport=dt_socket address=4000 suspend=n
but only when using PowerShell, running the exact same command with cmd.exe works just as expected.
java Test
as expected so that's not it. – Voo Aug 21 '13 at 16:58