1 Reply Latest reply: Feb 7, 2008 10:12 AM by 843829 RSS

    FATAL ERROR: JVMPI, an experimental interface, is no longer supported.

    843829
      <p>
      A common question on JDK 6 and JVMPI:
      <p>
      "I have been using <b><i>Place Product Name Here</i></b>
      for profiling my J2EE application.
      I am recently working on upgrading to Java 1.6.
      When I try to launch the tool,
      I get the following error:
      <br><code><pre>
      FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
      Please use the supported interface: the JVM Tool Interface (JVM TI).
      For information on temporary workarounds contact: jvmpi_eol@sun.com
      </pre></code>

      <p>
      Why is this happening?"

      <p>
      By default JVMPI has been disabled in JDK 6. The new and official interface is
      JVM TI.
      The warnings about the removal of the experimental JVMPI have gone on for many years now, but there are still some older profiling tools that still use it.
      You should contact the Company that created the tool, they will likely have a newer
      tool that uses JVM TI, or offer you a workaround.

      <p>
      Also, if you haven't tried the
      NetBeans profiler you might want to give that a try, I just used it for the first time last week, it was quite nice.

      <p>
      If all else fails, please contact: jvmpi_eol@sun.com

      <p>
      -kto
        • 1. Re: FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
          843829
          Hi Guys,

          Probably you can remove the '_JAVA_OPTIONS' setting from your environment variables on the Windows OS. This setting is usually created by the install/setup file of the tool installed on your machine. In my case it was the QTP (Quick Test Professional) a testing tool from 'Mercury'.

          I used to get this error message when I tried typing 'java -version' or 'java' on the command prompt.

          *Picked up JAVAOPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\FUNCTI~1\Java\classes\jasmine.jar*
          FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
          Please use the supported interface: the JVM Tool Interface (JVM TI).
          For information on temporary workarounds contact: jvmpi_eol@sun.com
          Error: could not load Mercury Interactive support. Please run the setup again.
          If the problem persists please contact Mercury's Customer support.
          Error occurred during initialization of VM
          -Xrun library failed to init: jvmhook

          After trying hard with the available information on the websites, I tried removing the '_JAVA_OPTIONS' and 'IBM_JAVA_OPTIONS' entry from the system environment variables. After removing this entry, I tried launching QTP Tool and it was able to launch without any issues and when I typed 'java' or 'java -version' I got the actual expected result.

          Hope this would be of immense help for other guys !!

          Enjoy coding!!