JRE是否有诊断工具? [英] Does JRE has diagnostics tools?

查看:109
本文介绍了JRE是否有诊断工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道JRE(不是JDK)是否有诊断工具,例如jps,jstack,jhat等?

Does anyone know if JRE (not JDK) has diagnostics tools, such as jps, jstack, jhat and so on?

或者这些工具只出现在JDK中?

Or these tools only present in JDK?

谢谢。

推荐答案

这些文件都是你在jre(jre1.6.0_20 linux):

These files are all you have in the jre (jre1.6.0_20 linux):

rwxrwxrwx 1 bob bob     10 2010-05-12 19:40 ControlPanel -> ./jcontrol
-rwxr-xr-x 1 bob bob  47308 2010-04-12 22:36 java
-rwxr-xr-x 1 bob bob  25634 2010-04-12 22:39 java_vm
-rwxr-xr-x 1 bob bob  84970 2010-04-12 22:39 javaws
-rwxr-xr-x 1 bob bob   6347 2010-04-12 22:39 jcontrol
-rwxr-xr-x 1 bob bob  47447 2010-04-12 22:36 keytool
-rwxr-xr-x 1 bob bob  47679 2010-04-12 22:36 orbd
-rwxr-xr-x 1 bob bob  47515 2010-04-12 22:36 pack200
-rwxr-xr-x 1 bob bob  47807 2010-04-12 22:36 policytool
-rwxr-xr-x 1 bob bob  47447 2010-04-12 22:36 rmid
-rwxr-xr-x 1 bob bob  47447 2010-04-12 22:36 rmiregistry
-rwxr-xr-x 1 bob bob  47475 2010-04-12 22:36 servertool
-rwxr-xr-x 1 bob bob  47679 2010-04-12 22:36 tnameserv
-rwxr-xr-x 1 bob bob 189274 2010-04-12 22:36 unpack200

所以,答案是它们只出现在JDK中。

So, the answer is that they are only present in the JDK.

这篇关于JRE是否有诊断工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆