patric-r / jvmtop

Java monitoring for the command-line, profiler included
GNU General Public License v2.0
1.22k stars 252 forks source link

Can't find jvptop.sh file #77

Closed mikehomee closed 8 years ago

mikehomee commented 8 years ago

Can't find jvptop.sh file

patric-r commented 8 years ago

Did you download https://github.com/patric-r/jvmtop/releases/download/0.8.0/jvmtop-0.8.0.tar.gz (see 'releases' tab)?

mikehomee commented 8 years ago

Sorry, i used git clone. Thanks for the url. after running the script, i have new error /usr/lib/jvm/java-7-oracle/jre seems to be no JDK!

Thank you!

patric-r commented 8 years ago

jvmtop requires a JDK (a JRE is not sufficient). If /usr/lib/jvm/java-7-oracle contains a JDK, please set JAVA_HOME environment variable to /usr/lib/jvm/java-7-oracle.

See also https://github.com/patric-r/jvmtop/blob/master/INSTALL

mikehomee commented 8 years ago

Perfect! I thought my java env was already set since I can run java commands perfectly. After setting up JAVA_HOME, the script is running!

Thank you so much!

PS. I'm sorry for being lazy for not reading the important notes.

patric-r commented 8 years ago

You're welcome.