Install the Java agent using the Debian repository

You can configure your system to retrieve and install the Java agent from the Contrast Debian repository. To do this:

  1. Use the following commands to configure your system to receive packages from the repository:

    curl | sudo apt-key add -
    echo "deb all contrast" | sudo tee /etc/apt/sources.list.d/contrast-all.list
  2. Install the Contrast Java agent:

    sudo apt-get update && sudo apt-get install contrast-java-agent
  3. You will now see the Contrast Java agent JAR file at /opt/contrast/contrast-agent.jar.

  4. To complete the installation, configure the agent and provide Contrast connection parameters.