Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.27 KB

File metadata and controls

46 lines (36 loc) · 1.27 KB
componentType default
headingText Docker download

Our Docker examples use Tomcat, so if you're using another application server, refer to your vendor's documentation for how to set up your Dockerfile.

Download the Java APM agent

curl
<TabsBarItem id="powershell">
  Powershell
</TabsBarItem>

<TabsBarItem id="web">
  Web
</TabsBarItem>
Download the Java APM agent with this `curl` command and then unzip it.
  ```sh
  curl -O https://download.newrelic.com/newrelic/java-agent/newrelic-agent/current/newrelic-java.zip
  ```
</TabsPageItem>

<TabsPageItem id="powershell">
  Download the Java APM agent with this `curl` command and then unzip it.

  ```sh
  Invoke-WebRequest -Uri https://download.newrelic.com/newrelic/java-agent/newrelic-agent/current/newrelic-java.zip -OutFile newrelic-java.zip
  ```
</TabsPageItem>

<TabsPageItem id="web">
  From [Java agent release notes](https://docs.newrelic.com/docs/release-notes/agent-release-notes/java-release-notes/), download `newrelic-java.zip` to a temporary directory and unzip it.
</TabsPageItem>