# How to shift to elastic-apm-agent-java8

**URL:** https://discuss.elastic.co/t/how-to-shift-to-elastic-apm-agent-java8/349003
**Category:** APM
**Tags:** java
**Created:** [December 11, 2023, 5:03am UTC](https://discuss.elastic.co/t/how-to-shift-to-elastic-apm-agent-java8/349003 "2023-12-11T05:03:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Vijeya\_Nidhi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vijeya_nidhi/32/123510_2.png) [@Vijeya\_Nidhi](https://discuss.elastic.co/u/Vijeya_Nidhi)
#### Post date: [December 11, 2023, 5:03am UTC](https://discuss.elastic.co/t/how-to-shift-to-elastic-apm-agent-java8/349003/1 "2023-12-11T05:03:30Z")

</div>

[elastic-apm-agent](https://github.com/elastic/apm-agent-java/tree/main/elastic-apm-agent) is supporting java 7, so it is compiled with log4j 2.12.4

But I am also seeing [elastic-apm-agent-java8](https://github.com/elastic/apm-agent-java/tree/main/elastic-apm-agent-java8) which has the higher log4j version.

Can I know where to find the jar file for the same for download?

---

<div class="post-metadata">

### Author: ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)
#### Post date: [December 11, 2023, 1:34pm UTC](https://discuss.elastic.co/t/how-to-shift-to-elastic-apm-agent-java8/349003/2 "2023-12-11T13:34:32Z")

</div>

Hi!

I think that your question is related to this other question you asked: [Java 7 support drop dates](https://discuss.elastic.co/t/java-7-support-drop-dates/349004)

For now the only major difference between the Java7 and the Java8 agent versions is the log4j2 version that is shipped with it.

Some security scanning tools mis-report the Java 7 version as vulnerable due to having an older Log4j2 version, [see here for details](https://www.elastic.co/guide/en/apm/agent/java/current/faq.html#faq-log4j2-security).

The latest version of the Java8 agent can be downloaded from maven central here: [Central Repository: co/elastic/apm/elastic-apm-agent-java8/1.45.0](https://repo1.maven.org/maven2/co/elastic/apm/elastic-apm-agent-java8/1.45.0/)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 8, 2024, 1:34pm UTC](https://discuss.elastic.co/t/how-to-shift-to-elastic-apm-agent-java8/349003/3 "2024-01-08T13:34:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
