Can VisualVM monitoring apps running on JRE

不打扰是莪最后的温柔 提交于 2020-01-02 07:15:23

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!