Download and Unzip the Java Agent Distribution
You can get the agent from the Agent Download Wizard. If you have never installed an agent before, the wizard is a good place to start. The wizard populates the configuration file in the agent you download with Controller connection settings and identifying settings for the agent. After you download the agent, you can install it in the JVM.
Alternatively, you can download the agent manually, as follows:
Download and Install the Java Agent from ZIP
Download and Install the Java Agent from RPM
Replace <package_name> with the name of the package you downloaded. The Java Agent gets extracted to set to appdynamics/opt/appdynamics/java-agent with the user and group.
For information on the contents of the Java Agent home directory, see Java Agent Directory Structure.