Upgrade the Java agent

To ensure that you have the most up-to-date version of New Relic, refer to the Java release notes. If your agent is outdated, follow these steps.

  1. Back up the entire New Relic agent directory to another location. Rename that directory to NewRelic_Agent#.#.#, where #.#.# is the version number of that agent.
  2. Go to rpm.newrelic.com/apm > (select your account name) > Account settings.
  3. Download the agent for your platform.
  4. Unzip the new agent download file, and copy newrelic-api.jar and newrelic.jar into the agent directory.
  5. Restart your Java dispatcher.

If you experience issues after the Java agent upgrade, restore from the backed-up New Relic agent directory.

For more help

Additional documentation resources include:

Join the discussion about Java monitoring in the New Relic Online Technical Community! The Technical Community is a public platform to discuss and troubleshoot your New Relic toolset.

If you need additional help, get support at support.newrelic.com.