Skip to content

Commit

Permalink
fix(docs): add spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ally-sassman authored Apr 1, 2024
1 parent d1c28ff commit bbf55cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ For all available New Relic APIs, see [Intro to APIs](/docs/apis/getting-started

To access the API, download it from maven central via a build tool.

Here's an example for gradle where you can replace`${agent.version}` with version of your agent:
Here's an example for gradle where you can replace `${agent.version}` with version of your agent:

```groovy
implementation 'com.newrelic.agent.java:newrelic-api:${agent.version}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ Then, to update to the latest Java agent version:
3. Unzip the new agent download file, then copy `newrelic-api.jar` and `newrelic.jar` into the original [Java agent root directory](/docs/agents/manage-apm-agents/troubleshooting/find-agent-root-directory#java-agent).
4. (Optional) If you are using the any of the agent APIs like our [Java agent API](/docs/apm/agents/java-agent/api-guides/guide-using-java-agent-api/) or a [Scala API](/docs/apm/agents/java-agent/frameworks/scala-installation-java/#using-the-scala-api), we recommend you upgrade your API dependencies to the latest version. The newer agent version will still support the APIs, but you may be missing new features. If you're using a build tool like maven, upgrade the API versions to latest. For example, if you're using the Java Agent API with gradle, replace `${agent.version}` with the latest version:


```groovy
implementation 'com.newrelic.agent.java:newrelic-api:${agent.version}'
```

5. Restart your Java process.

If you experience issues after the Java agent update, restore from the backed-up New Relic agent directory.

0 comments on commit bbf55cc

Please sign in to comment.