Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Monitoring, Management, Debugging, and Profiling APIs
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Jul 12, 2009 4:29 PM by
How to find javaagent jar used at runtime?
Jul 12, 2009 1:10 PM
When JVM is started with -javaagent xxx.jar' option, is there any way to find out the agent jar file name at runtime in the program? Also, is there any way to find out if -javaagent option is given as a JVM option?
Thanks in advance,
This content has been marked as final.
Show 1 reply
Re: How to find javaagent jar used at runtime?
Jul 12, 2009 4:29 PM
in response to
Ok, I just found I can use RuntimeMXBean.getInputArguments() to get a list of JVM options.