在CentOS上安装jvisualvm

时间:2012-08-19 13:15:44

标签: centos java openjdk jvisualvm

我在我的CentOS机器上安装了Java,但我没有jvisualvm:

[root@ bin]# ls -la /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/
total 496
drwxr-xr-x. 2 root root  4096 2012-05-22 17:31 .
drwxr-xr-x. 4 root root  4096 2012-02-15 03:11 ..
-rwxr-xr-x. 1 root root 41120 2012-02-15 03:13 java
-rwxr-xr-x. 1 root root 41088 2012-02-15 03:13 keytool
-rwxr-xr-x. 1 root root 41168 2012-02-15 03:13 orbd
-rwxr-xr-x. 1 root root 41128 2012-02-15 03:13 pack200
-rwxr-xr-x. 1 root root 42368 2012-02-15 03:13 policytool
-rwxr-xr-x. 1 root root 41080 2012-02-15 03:13 rmid
-rwxr-xr-x. 1 root root 41088 2012-02-15 03:13 rmiregistry
-rwxr-xr-x. 1 root root 41088 2012-02-15 03:13 servertool
-rwxr-xr-x. 1 root root 41176 2012-02-15 03:13 tnameserv
-rwxr-xr-x. 1 root root 91352 2012-02-15 03:13 unpack200

如何安装?

1 个答案:

答案 0 :(得分:4)

来自Oracle的网站:

  

提供了各种可选工具,包括Java VisualVM   Sun发布的Java Development Kit(JDK)

您安装了Java JDK(Java开发工具包)还是只安装了运行时(JRE)?

Java 6 JDK可在http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html

下载

Java 7 JDK可从以下位置获得: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html

或者你只限于使用OpenJDK?在这种情况下,您可以从http://visualvm.java.net/download.html

下载VisualVM