Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

-javaagent seems to be broken, please advise!

843811Mar 11 2005 — edited Mar 11 2005
Greetings.

I had originall thought -javaagent was broken under linux, but now seems to be version specific.

Please look at the following versions and outputs:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
This version seems to work as I expected it to.
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
This version is broken

I downloaded the latest 5.0 Update 1
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
This version is broken.


It seems the latter two version report this when I try to use -javaagent:Class.myClass
Error opening zip file: Class.myClass
Error occurred during initialization of VM
agent library failed to init: instrument

So, I'm stumped! Can someone enlighten me on if this syntax has changed, or the requirements, and what I need to do to get developing again!

Thanks,




Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2005
Added on Mar 11 2005
2 comments
232 views