Could not resolve to JVMPI interface
The above error from Eclipse appears when you try to profile an application using TPTP. The whole text looks like this:
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@xxxxxxx Error occurred during initialization of VM -Xrun library failed to init: piAgentIn my opinion, it is a great example of completely cryptic message. Have I done something wrong? Or have I missed something?
Fortunately, the workaround is quite simple:
Go to Window > Preferences > Agent Controller > Integrated Agent Controller.
Click on the Environment tab.
Change the path of the Java executable to Java 1.4 or 5.
Thanks Ali, now it works!