# Elasticsearch JDK version VA closure

**URL:** https://discuss.elastic.co/t/elasticsearch-jdk-version-va-closure/380090
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [July 14, 2025, 7:17am UTC](https://discuss.elastic.co/t/elasticsearch-jdk-version-va-closure/380090 "2025-07-14T07:17:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amjad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amjad/32/140039_2.png) [@amjad](https://discuss.elastic.co/u/amjad)
#### Post date: [July 14, 2025, 7:17am UTC](https://discuss.elastic.co/t/elasticsearch-jdk-version-va-closure/380090/1 "2025-07-14T07:17:02Z")

</div>

Hi elastic community. Hope everyone is doing well.  
we are using Elasticsearch 7.11.1 version in which we are having jdk Installed version: 15.0.1 now we have received a security VA and suggested to Upgrade to a version greater than 15.0.1.  
However, from 7.11 version I can't directly upgrade to 8 elastic version, how can I handle this? is there any possibility to upgrade the JDK version greater than 15.0.1 without upgrading the elastic version. please suggest. Thanks in Advance.

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [July 14, 2025, 9:47am UTC](https://discuss.elastic.co/t/elasticsearch-jdk-version-va-closure/380090/2 "2025-07-14T09:47:17Z")

</div>

Hi @amjad,

Welcome back! It is possible to specify your own JDK other than the default shipped with Elastic [using the `ES_JAVA_HOME` environment variable](https://www.elastic.co/docs/deploy-manage/deploy/self-managed/installing-elasticsearch#:~:text=To%20use%20your%20own%20version,that%20attach%20to%20the%20JVM.). However, looking at the [JDK compatibility matrix on the Elastic website](https://www.elastic.co/support/matrix#matrix_jvm) it looks to me that 7.11.x Elasticsearch doesn't support higher than 15.

Elasticsearch 7.11.x is past EOL, so given that and the JDK issue I would recommend upgrading. To upgrade form 7.11.x you would need to [upgrade to 7.17.x first](https://www.elastic.co/guide/en/elastic-stack/8.18/upgrading-elastic-stack.html#prepare-to-upgrade) and from there you can [use the Upgrade Assistant](https://www.elastic.co/guide/en/kibana/7.17/upgrade-assistant.html).

Hope that helps!

---

<div class="post-metadata">

### Author: ![amjad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amjad/32/140039_2.png) [@amjad](https://discuss.elastic.co/u/amjad)
#### Post date: [July 21, 2025, 7:51am UTC](https://discuss.elastic.co/t/elasticsearch-jdk-version-va-closure/380090/3 "2025-07-21T07:51:51Z")

</div>

Hi @carly.richmond Thanks for solution.  
I have one doubt if I need to upgrade to 7.17 x from 7.11 version will it have my required jdk version? How to upgrade to 7.17x version from 7.11 please share the steps. Thanks in Advance.

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [July 21, 2025, 9:05am UTC](https://discuss.elastic.co/t/elasticsearch-jdk-version-va-closure/380090/4 "2025-07-21T09:05:01Z")

</div>

Hi @amjad,

You haven't specified which JDK you _need_. But if you want to use the bundled JDK you can check the release notes for the upgrade. For example, looking at the [7.17 release notes](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/release-notes-7.17.15.html#upgrade-7.17.15) that version is bundled with Open JDK 21. (If you look at the [JDK compatibility matrix I referred to previously](https://www.elastic.co/support/matrix#matrix_jvm) you will see the compatible versions if you want to use your own JDK.

The recommended upgrade steps to 7.17.x are [here](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/setup-upgrade.html). Simply select which source version you are upgrading from.

Hope that helps!
