caojian1983 / jvmtop

Automatically exported from code.google.com/p/jvmtop
0 stars 0 forks source link

Not able to launch on OS X Mavericks #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
Run jvmtop.

What is the expected output? What do you see instead?
Not able to launch jvmtop. The following error message:

/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java seems to 
be no JDK!

But "/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java 
-version" did give a correct version number.

What version of jvmtop are you using? On what operating system?
0.8.0 on OS X Mavericks.

Please post the output of the following commands:

/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

echo $JAVA_HOME  (for unix/linux systems)

(Empty)

Please provide any additional information below.

Original issue reported on code.google.com by xuhdev on 16 Nov 2013 at 3:57

GoogleCodeExporter commented 9 years ago
Most probably, you should set the JAVA_HOME environment variable to match your 
environment.

Try to locate tools.jar on your filesystem and set JAVA_HOME one directory 
below the one which contains tools.jar

Please let me know if this worked for you and to which value you set JAVA_HOME.

Original comment by patric.r...@gmail.com on 19 Aug 2014 at 8:21