有没有人知道JRE(不是JDK)是否有诊断工具,例如jps,jstack,jhat等?
或者这些工具只出现在JDK中?
感谢。
答案 0 :(得分:5)
这些文件都是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中。