rem load the sample progrom to monitor: Java2Demo,
enabling monitoring with com.sun.management.jmxremote property
rem The following should be all on one line:
J:\Program Files\java\jdk1.8.0_131\\bin\java.exe -Dcom.sun.management.jmxremote -jar "J:\Program Files\java\jdk1.8.0_131\ \demo\jfc\Java2D\Java2Demo.jar"
rem in a separate BAT (Batch)
file do the following so you can have both programs running at once.
rem load JConsole to watch Java2Demo
JVisualVM includes an API (Application Programming Interface) which could allow you to programmatically access to the same information, although it is unclear you can do that from the same JVM (Java Virtual Machine) itself (i.e. a Java application which monitors its own JVM).
This page is posted
Optional Replicator mirror
Your face IP:[184.108.40.206]
You are visitor number|