# Compatibility of Elasticsearch 8.17.0 with Amazon Corretto 17 / 21

**URL:** <https://discuss.elastic.co/t/compatibility-of-elasticsearch-8-17-0-with-amazon-corretto-17-21/382858>\
**Category:** Elasticsearch\
**Created:** [October 21, 2025, 9:05am UTC](https://discuss.elastic.co/t/compatibility-of-elasticsearch-8-17-0-with-amazon-corretto-17-21/382858 "2025-10-21T09:05:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![babudurairaji](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@babudurairaji](https://discuss.elastic.co/u/babudurairaji)\
**Post date:** [October 21, 2025, 9:05am UTC](https://discuss.elastic.co/t/compatibility-of-elasticsearch-8-17-0-with-amazon-corretto-17-21/382858/1 "2025-10-21T09:05:44Z")

</div>

Hi,

We are currently using **Elasticsearch version 8.17.0** for data auditing purposes. We would like to know whether this version is compatible with **Amazon Corretto 17 or 21** , instead of using **Oracle JDK 17**.

Could anyone please provide clear details on this as soon as possible?

Regards,

Babu

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 21, 2025, 10:10am UTC](https://discuss.elastic.co/t/compatibility-of-elasticsearch-8-17-0-with-amazon-corretto-17-21/382858/2 "2025-10-21T10:10:43Z")

</div>

I don't think we are testing this JVM as far as I can see in [Support Matrix | Elastic](https://www.elastic.co/support/matrix#matrix_jvm) which is the source of truth in terms of what is officially supported.

This means that you are on your own if you don't use one of the supported JVM from that page.

> [@babudurairaji](#):
>
> for data auditing purposes

What do you mean? What is the need here?

---

<div class="post-metadata">

**Author:** ![babudurairaji](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@babudurairaji](https://discuss.elastic.co/u/babudurairaji)\
**Post date:** [October 21, 2025, 12:30pm UTC](https://discuss.elastic.co/t/compatibility-of-elasticsearch-8-17-0-with-amazon-corretto-17-21/382858/3 "2025-10-21T12:30:15Z")

</div>

Hi,

Thank you for the information. I need a small clarification.

Currently, we are using **Elasticsearch 8.17.0** with **Oracle JDK 17** , and it is working fine. Our requirement is to run the same Elasticsearch version using **Amazon Corretto 17** instead of Oracle JDK 17.

We would like to confirm whether **Elasticsearch 8.17.x** is compatible with **Amazon Corretto 17**. This information will be very helpful for us to proceed with the migration process.

Thank you in advance for your reply.

Regards,  
**Babu**

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 21, 2025, 12:56pm UTC](https://discuss.elastic.co/t/compatibility-of-elasticsearch-8-17-0-with-amazon-corretto-17-21/382858/4 "2025-10-21T12:56:48Z")

</div>

> [@babudurairaji](#):
>
> We would like to confirm whether **Elasticsearch 8.17.x** is compatible with **Amazon Corretto 17**. This information will be very helpful for us to proceed with the migration process.

As David mentioned, this JVM is not tested, it is not present on the Support Matrix page, so I would consider it as not officially supported.

It may work, but if you have any issues and need support, Elastic will ask you to replicated the problem with the bundled JVM or one of the supported JVMs.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [October 23, 2025, 4:35am UTC](https://discuss.elastic.co/t/compatibility-of-elasticsearch-8-17-0-with-amazon-corretto-17-21/382858/5 "2025-10-23T04:35:28Z")

</div>

> [@dadoonet](#):
>
> [Support Matrix | Elastic](https://www.elastic.co/support/matrix#matrix_jvm) which is the source of truth in terms of what is officially supported

The support matrix has this footnote:

> Elastic supports some OpenJDK-derived distributions: 1. builds by the IcedTea Project; 2. those produced by OS vendors in the “Product and Operating System” matrix which have passed the TCK tests; 3. Azul Zulu starting with Elasticsearch 6.6.0.

Corretto fits point (2) of that note

- It is OpenJDK derived
- It is produced by Amazon, and Amazon Linux is a supported Operating System
- It passes the TCK

It is a supported JDK for Elasticsearch, although we **strongly** recommend that you run Elasticsearch with the bundled JDK instead.
