ViswaKappagantu / jvmtop

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

Error: Could not find or load main class com.jvmtop.JvmTop #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to get jvmtop running on our Centos 6 server, and it gives me this 
error:

"Error: Could not find or load main class com.jvmtop.JvmTop"

After taking a look inside the res/jvmtop.sh script, it looks like it is trying 
to run java like so:

"$JAVA_HOME"/bin/java $JAVA_OPTS -cp "$DIR/jvmtop.jar:$TOOLSJAR" \
com.jvmtop.JvmTop "$@"

the thing is, I don't see jvmtop.jar anywhere in the project (downloaded from 
GitHub https://github.com/patric-r/jvmtop)

am I missing something here?  Here is my system info:

[root]# java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

[root]# echo $JAVA_HOME
/usr/java/default

[root]# cat /etc/redhat-release
CentOS release 6.4 (Final)

Original issue reported on code.google.com by steven.w...@gmail.com on 21 Jul 2015 at 2:15

GoogleCodeExporter commented 8 years ago
Steven,

for future issues, please use the issue tracker at github: 
https://github.com/patric-r/jvmtop/issues

Regarding you question:
Have you looked at the "releases" tab on github?

There you can find a tar.gz-archive, containing the jvmtop.jar
Direct link: 
https://github.com/patric-r/jvmtop/releases/download/0.8.0/jvmtop-0.8.0.tar.gz 

Original comment by patric.r...@gmail.com on 22 Jul 2015 at 3:13