In many cases, if your Java profiler (mine is IBM Rational Purify 7 for Windows) does not work as before after your upgrade your Java version to 6 and throws the below error
FATAL ERROR: JVMPI, an experimental interface, is no longer supported.This is because in JDK 6, Virtual Machine Tool Interface (JVM TI) has replaced Java Virtual Machine Profiler Interface (JVMPI) and the Java Virtual Machine Debug Interface (JVMDI). See Sun official note at here. The workaround is to install JRE/JDK 5 and set your Java environment (JAVA_HOME) and path (use java -version to check which java version your are using) before bringing up your Java application with your Java profiler.
Please use the supported interface: the JVM Tool Interface (JVM TI).

0 comments:
Post a Comment