Install the New Relic Java agent, using either of these options:
newrelic.ymlin the same folder as
newrelic.jar, unless you specify otherwise in the JVM arg
-javaagent:/path/to/newrelic.jarto the JVM running your application server.
Optional: If using the New Relic Java agent API, make the API jar available at compile time by adding it to your application class path.
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 data security and licenses documentation.