我在我的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
我该如何安装?
最佳答案
来自Oracle的网站:
VarIoUs optional tools,including Java VisualVM,are provided with
Sun’s distribution of the Java Development Kit (JDK)
您是安装了Java JDK(Java Development Kit)还是仅安装了运行时(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