mss / jvmtop

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

JDK1.5.0_22 com/sun/tools/attach/AttachNotSupportedException #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.excute jvmtop.sh

What is the expected output? What do you see instead?
Exception in thread "main" java.lang.NoClassDefFoundError: 
com/sun/tools/attach/AttachNotSupportedException
        at com.jvmtop.VMOverviewView.scanForNewVMs(VMOverviewView.java:122)
        at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:25)
        at com.jvmtop.JvmTop.run(JvmTop.java:70)
        at com.jvmtop.JvmTop.main(JvmTop.java:41)

What version of jvmtop are you using? On what operating system?
JVMTOP 0.5 and 0.6

Please post the output of the following commands:
java -version
echo $JAVA_HOME  (for unix/linux systems)
echo %JAVA_HOME% (for windows)

/usr/java/jdk1.5.0_22

Please provide any additional information below.

use jvmtop to monitor weblogic thread.

Original issue reported on code.google.com by netstyle...@gmail.com on 11 Jul 2013 at 8:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
As stated in the documentation, jvmtop does not support running on a JDK with a 
version 1.5 or below.
You can try to run it on JDK 6 or 7 - there's a minimal chance that it can 
connect to a running java 5 jvm, but I haven't tried this.

Original comment by patric.r...@gmail.com on 11 Jul 2013 at 6:06

GoogleCodeExporter commented 9 years ago
I see. Thanks for your answer.

Original comment by netstyle...@gmail.com on 13 Jul 2013 at 5:13

GoogleCodeExporter commented 9 years ago

Original comment by patric.r...@gmail.com on 13 Jul 2013 at 8:48