Why can't I connect?
I'm trying to use JConsole to connect to a running process to monitor that program's memory usage.
I followed the instructions outlined in the tutorial (http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html), but I'm getting nowhere.
I start the Java 2D demo:
JDK_HOME/bin/java -Dcom.sun.management.jmxremote -jar JDK_HOME/demo/jfc/Java2D/Java2Demo.jar
I'm running Java 1.6.0 so, as I understand it, the jmxremote option should be superfluous (I've tried it also without). When I start up JConsole it can see the new process, but displays the message "The Management agent is not enabled on this process".
What am I doing wrong?
I am running on Windows XP.

