• EnglishEspañol日本語한국어Português
  • Log inStart now

Errors starting Java app server


You see error messages when starting the app server for your Java application. For example:

Error opening zip file: newrelic.jar
Error occurred during initialization of VM
Agent library failed to init: instrument


The path to the Java agent jar file must be fully qualified in the -javaagent JVM switch. If the path is not correctly specified, errors will be thrown on app server startup, and the JVM will exit.

To correct this problem, specify the full path to the newrelic.jar file in the -javaagent switch. For example, if the newrelic.jar file is in a directory named newrelic inside the Tomcat home directory /home/tomcat, specify the switch like this:

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.