简体   繁体   中英

Hide Java agent injection into JVM

I have a question regarding to JVM environment settings. I have injected a Java agent into JAVA_TOOL_OPTIONS environment variable setting to monitor Java Applications. Now some of java application detect Java agent is present into JAVA_TOOL_OPTIONS and they do not behave normally.
Now my questions,

  1. Is there any other place in JVM's setting where I can hide my Java agent. What is that place.

  2. Can I modify the visibility or accessibility of my java agent into hidden mode for java application.

You do not have to load your agent at startup, it can be loaded dynamically at runtime. See this article in the section called "Dynamic loading of a javaagent at runtime" .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM