# Java APM agent for java 6

**URL:** <https://discuss.elastic.co/t/java-apm-agent-for-java-6/360015>\
**Category:** APM\
**Tags:** java\
**Created:** [May 22, 2024, 5:53pm UTC](https://discuss.elastic.co/t/java-apm-agent-for-java-6/360015 "2024-05-22T17:53:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![heba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/heba/32/134548_2.png) [@heba](https://discuss.elastic.co/u/heba)\
**Post date:** [May 22, 2024, 5:53pm UTC](https://discuss.elastic.co/t/java-apm-agent-for-java-6/360015/1 "2024-05-22T17:53:29Z")

</div>

I am using latest ELK version 8.13 and I want to use elastic apm java agent to monitor Java application using jdk 6 as this app can't upgraded  
Which agent version can be used or event refactored to be able to work

---

<div class="post-metadata">

**Author:** ![Jack\_Shirazi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jack_shirazi/32/91641_2.png) [@Jack\_Shirazi](https://discuss.elastic.co/u/Jack_Shirazi)\
**Post date:** [May 22, 2024, 6:15pm UTC](https://discuss.elastic.co/t/java-apm-agent-for-java-6/360015/2 "2024-05-22T18:15:19Z")

</div>

Sorry, we can't support Java 6, there is a core instrumentation dependency that only works on 7+. No version of the agent ever supported 6. Further bad news is that the OpenTelemetry agent is 8+ so you can't even switch to that
