harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armand Navabi" <anav...@purdue.edu>
Subject RE: [drlvm][jvmti] JVMTI support?
Date Mon, 05 Mar 2007 21:03:33 GMT
Pavel,

Interesting.  I am working on Ubuntu 6.06.  If I am in the Harmony bin
directory and I try to run like this:

./java -agentpath:<path to simpleAgent build> HelloWorld

I get the error I explained before.  When I use Sun's java (java 5.0), it
works fine.

Armand

-----Original Message-----
From: Pavel Pervov [mailto:pmcfirst@gmail.com] 
Sent: Monday, March 05, 2007 5:33 AM
To: dev@harmony.apache.org
Subject: Re: [drlvm][jvmti] JVMTI support?

Armand,

I tried this simple agent on Windows and got it working perfectly.

What platform you are working on?

Pavel.
On 3/5/07, Armand Navabi <anavabi@purdue.edu> wrote:
>
> Is there support for JVM Tool Interface from the JIT?  The developers
> guide says that the JVMTI support component relies on support from
> execution engines.  Section 3.3.2 mentions support for JVMTI in the
> interpreter, but I see no mention in the JIT section (Section 3.3.1).
>
> I am trying to use this simple agent
> (
>
http://wsjoung.wordpress.com/2006/11/17/the-java-virtual-machine-tool-interf
ace-jvmti/
> ),
> but it causes the following error:
>
> ERROR: Unable to access JVMTI Version 1 (0x30010000), is your J2SE a 1.5
> or newer version? JNIEnvs GetEnv() returned -3
>
> I tried to use the agent with both the JIT and the interpreter, but both
> resulted in the above error.
>
> Thanks,
> Armand
>



-- 
Pavel Pervov,
Intel Enterprise Solutions Software Division


Mime
View raw message