This document explains how to uninstall the New Relic Java agent. For instructions on how to temporarily disable the agent, see Disable the agent.
To remove the Java agent:
- Delete the
newrelic
folder from your app server's root directory. - Remove the JVM argument you used to include the agent in your startup script.
- If applicable, rename your backed-up start script to its original name.
- After you complete these steps, restart your app.
Tip
You may also want to remove your app from the APM UI.
For more help
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's and and documentation.