Uninstall Java Agent

Uninstalling the Java agent requires you to know where the Java agent was installed for each application being monitored.
apmdevops106
Uninstalling the Java agent requires you to know where the Java agent was installed for each application being monitored.
Follow these steps:
  1. Stop the application server.
    Monitored JVMs must be shut down before you run the uninstall program.
  2. Open the application server startup script and remove the Java agent switches from the Java command line. Depending on the application server, the startup options include:
    • -Xbootclasspath
    • -javaagent:<path_to_the_agent_jar>
    • -DagentProfile=<path_to_the_agent_profile>
  3. Start the application server.
  4. Delete the 
    <Agent_Home>
     directory.
    The Java Agent is uninstalled.
Uninstalling the Java Agent from z/OS
Shut down the monitored JVM before you remove files.
We recommended that to uninstall the Java agent from z/OS, delete the 
<Agent_Home> 
directory using an
rm -rf 
command.