Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no long [message #109006] |
Tue, 14 August 2007 19:25 |
Eclipse User |
|
|
|
Originally posted by: no.spam.com
Hi,
I check in Profile ... / Monitor
Common Base Event Analysis
Click on Profile.
Here the message in the Console :
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 occurred during initialization of VM
-Xrun library failed to init: piAgent
Could not resolve to JVMPI interface
What I am doing wrong ?
Tintin92
|
|
|
|
|
|
Re: Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no [message #109132 is a reply to message #109058] |
Thu, 16 August 2007 06:31 |
Asaf Yaffe Messages: 333 Registered: July 2009 |
Senior Member |
|
|
Tintin92 wrote:
>
> Hi Asaf,
>
> Something I forget to say, it's a stand alone program ( a JSE program, no
> Web or other stuff ).
>
> What I have change :
>
> Menu / Projet / properties / Java Build Path / Libraries
> Edit.. the JRE then
> Check Alternative JRE from jre1.6.0_02 to jre1.5.0_06
>
> Lanch Profile
>
> Console :
>
> 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 occurred during initialization of VM
> -Xrun library failed to init: piAgent
> Could not resolve to JVMPI interface
>
> I think the are no change.
>
> Regards,
>
> Tintin92
You need to change the JRE used to *execute* your Java application under
the profiler, not the JRE you use to *build* your application.
If you're using the Integrated Agent Controller: select Window |
Preferences | Agent Controller | Integrated Agent Controller and modify
the JRE used.
If you're using the standalone Agent Controller, run the <ac
home>bin\SetConfig.bat script and modify the JRE.
HTH,
Asaf
--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
|
|
|
Re: Choose Common Base Event Analysis . Got a FATAL ERROR: JVMPI, an experimental interface, is no [message #109280 is a reply to message #109132] |
Fri, 17 August 2007 09:16 |
Eclipse User |
|
|
|
Originally posted by: no.spam.com
> Tintin92 wrote:
> >
> > Hi Asaf,
> >
> > Something I forget to say, it's a stand alone program ( a JSE program,
no
> > Web or other stuff ).
> >
> > What I have change :
> >
> > Menu / Projet / properties / Java Build Path / Libraries
> > Edit.. the JRE then
> > Check Alternative JRE from jre1.6.0_02 to jre1.5.0_06
> >
> > Lanch Profile
> >
> > Console :
> >
> > 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 occurred during initialization of VM
> > -Xrun library failed to init: piAgent
> > Could not resolve to JVMPI interface
> >
> > I think the are no change.
> >
> > Regards,
> >
> > Tintin92
>
> You need to change the JRE used to *execute* your Java application under
> the profiler, not the JRE you use to *build* your application.
> If you're using the Integrated Agent Controller: select Window |
> Preferences | Agent Controller | Integrated Agent Controller and modify
> the JRE used.
> If you're using the standalone Agent Controller, run the <ac
> home>bin\SetConfig.bat script and modify the JRE.
>
I changed my Integrated Agent Controller:
Menu /Window / Preferences / Agent Controller | Integrated Agent Controller
Modify from jre 1.6.0_02 to jre1.5.0_06
Results with a run ( no Profile ):
With 1.6.0_02 :
my program start normaly.
With jre1.5.0_06 run or profile :
Console :
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"
Regards,
Tintin92
> HTH,
> Asaf
>
> --
> Asaf Yaffe
> Eclipse TPTP Committer, JVMTI Profiler
|
|
|
|
Powered by
FUDForum. Page generated in 0.04744 seconds