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

FATAL ERROR: JVMPI, an experimental interface, is no longer supported.   
2007-1-8 ??12:21

Click to email this message

 
<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
<a href=http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/>JVM TI</a>.
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
<a href=http://www.netbeans.org>NetBeans</a> 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
 
KamalBohra
Posts:1
Registered: 2/7/08
Re: FATAL ERROR: JVMPI, an experimental interface, is no longer supported.   
2008-2-7 ??8:12 (reply 1 of 1)  (In reply to original post )

Click to email this message

 
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 _JAVA_OPTIONS: -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!!
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值