# Java 17 support for elasticsearch 6.6.0

**URL:** <https://discuss.elastic.co/t/java-17-support-for-elasticsearch-6-6-0/309605>\
**Category:** Elasticsearch\
**Created:** [July 14, 2022, 5:41am UTC](https://discuss.elastic.co/t/java-17-support-for-elasticsearch-6-6-0/309605 "2022-07-14T05:41:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilh](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@gilh](https://discuss.elastic.co/u/gilh)\
**Post date:** [July 14, 2022, 5:41am UTC](https://discuss.elastic.co/t/java-17-support-for-elasticsearch-6-6-0/309605/1 "2022-07-14T05:41:52Z")

</div>

Hi. I'm using elasticsearch version 6.6.0. Now I want to upgrade from java 8 to java 17. Can I expect this version to work fine with java 17? Or I would need to upgrade my elasticsearch client before moving to java 17?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 14, 2022, 5:49am UTC](https://discuss.elastic.co/t/java-17-support-for-elasticsearch-6-6-0/309605/2 "2022-07-14T05:49:02Z")

</div>

Elasticsearch 6.6 is very old and has been EOL a very long time. I would recommend upgrading.

As per [the official support matrix](https://www.elastic.co/support/matrix) Elasticsearch 6.6. does not support Java 17, so you would need to upgrade at least to Elasticsearch 6.8 (ideally at least the latest 7.17 release).

---

<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:** [July 14, 2022, 5:49am UTC](https://discuss.elastic.co/t/java-17-support-for-elasticsearch-6-6-0/309605/3 "2022-07-14T05:49:02Z")

</div>

Elasticsearch 6.6. is [EOL](https://www.elastic.co/support/eol) and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<div class="post-metadata">

**Author:** ![gilh](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@gilh](https://discuss.elastic.co/u/gilh)\
**Post date:** [July 14, 2022, 11:44am UTC](https://discuss.elastic.co/t/java-17-support-for-elasticsearch-6-6-0/309605/5 "2022-07-14T11:44:35Z")

</div>

Hi. Thanks for the reply. My question was regarding the client side (our backend) but form the matrix I see it applies to both. So we need to upgrade the client to 6.8 at least.  
Does it means we also need to upgrade the server to 6.8?  
In general, the server and client must match their versions?

---

<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:** [August 11, 2022, 11:45am UTC](https://discuss.elastic.co/t/java-17-support-for-elasticsearch-6-6-0/309605/6 "2022-08-11T11:45:29Z")

</div>

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