AppDynamics APM Platform 21.x Application Monitoring Install App Server Agents Java Agent Install the Java Agent Agent Installation by Java Framework Current: Apache Solr Startup Settings PDF Download PDF Download page Apache Solr Startup Settings. Current page All pages Apache Solr Startup Settings This page describes how to instrument Apache Solr with the Java Agent.Instrument Solr in a Linux EnvironmentOpen a terminal.Execute the following commands to add the javaagent argument to the Solr server: >cd $Solr_Installation_Directory >java -javaagent:"<agent install directory>/javaagent.jar" -jar start.jar CODE For the argument value, reference the full path to the Java Agent installation directory. Instrument Solr in a Windows EnvironmentAdd the Java Agent to the Solr configuration file, solr.in.You can find the file at:<solr-install-dir>\bin\solr.inAdd the following line just below "REM set SOLR_OPTS=%SOLR_OPTS%": set SOLR_OPTS=%SOLR_OPTS% -javaagent:"<java_agent_location>\javaagent.jar" Restart the Solr service. ×