本文介绍了VisualVM可以监视在JRE上运行的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如标题所述:是否可以将VisualVM连接到在JRE而不是JDK上运行的远程应用程序?
是的,VisualVM本身在JDK上运行!

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 !

亲切的问候
Dominik

Kind regardsDominik

推荐答案

VisualVM连接到正在运行的Java虚拟机(JVM)。
这个JVM包含在JDK和JRE中。
实际上,JDK是一个JRE,其中包含允许创建Java程序的其他工具和项目。如果你只想运行它们,你只需要一个JDK。

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.

所以是的,你可以连接到仅限JRE的安装。

So yes, you can connect to a JRE-only install.

这篇关于VisualVM可以监视在JRE上运行的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 07:53
查看更多