问个JProfiler的问题
oracs 2009-06-27 11:50:47 我想用JProfiler测试内存泄露
jboss使用jdk1.6,JProfiler使用v5.2.1
jboss的run.bat加入:
set JAVA_OPTS=-agentlib:jprofilerti=port=8849 -Xbootclasspath/a:"%JProfiler_Home%\bin\agent.jar" %JAVA_OPTS%
可在执行的时候包下面的错:
JProfiler> Protocol version 25
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 32-bit library
JProfiler> Listening on port: 8849.
JProfiler> Instrumenting native methods.
JProfiler> Native library initialized
JProfiler> Protocol version 25
JProfiler> Using JVMPI
ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
JProfiler> The Java Virtual Machine Profiling Interface (JVMPI) is not present. Exiting.
哪位高手知道怎么解决么?