问题
as the headline mentioned: is it possible to connect VisualVM to an remote application running on JRE instead of JDK ? And yes, the VisualVM itself runs on JDK !
Kind regards Dominik
回答1:
VisualVM connects to a running Java Virtual Machine (JVM). And this JVM is contained both in the JDK and the JRE. In fact, the JDK is a JRE with additional tools and items to allow creating Java programs. If you only want to run them, you only need a JDK.
So yes, you can connect to a JRE-only install.
来源:https://stackoverflow.com/questions/21681560/can-visualvm-monitoring-apps-running-on-jre