JDK 1.5

From jManage

To enable your J2SE 5.0 application for remote management, add the following system properties to your application:

com.sun.management.jmxremote.port=9999 
com.sun.management.jmxremote.authenticate=false
com.sun.management.jmxremote.ssl=false

For example:

java -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false mypackage.MyClass

Add this application in jManage as a JSR 160 application with the following URL:

service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi


More information on configuring JVM for remote management and monitoring can be found at:

http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html