# Elasticsearch 6.5 installer is not compatible with Java 11

**URL:** <https://discuss.elastic.co/t/elasticsearch-6-5-installer-is-not-compatible-with-java-11/203898>\
**Category:** Elasticsearch\
**Created:** [October 16, 2019, 5:27pm UTC](https://discuss.elastic.co/t/elasticsearch-6-5-installer-is-not-compatible-with-java-11/203898 "2019-10-16T17:27:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunnydrall](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunnydrall/32/56040_2.png) [@sunnydrall](https://discuss.elastic.co/u/sunnydrall)\
**Post date:** [October 16, 2019, 5:27pm UTC](https://discuss.elastic.co/t/elasticsearch-6-5-installer-is-not-compatible-with-java-11/203898/1 "2019-10-16T17:27:05Z")

</div>

I installed Java 11 with Elasticsearch 6.5, but they aren't compatible together. The installer says that the installation is completed but the service does not start without any errors or logs. Even when I try to start the service manually, it shows started, but on refreshing the page, it is back to stopped state.

---

<div class="post-metadata">

**Author:** ![sunnydrall](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunnydrall/32/56040_2.png) [@sunnydrall](https://discuss.elastic.co/u/sunnydrall)\
**Post date:** [October 21, 2019, 5:59am UTC](https://discuss.elastic.co/t/elasticsearch-6-5-installer-is-not-compatible-with-java-11/203898/2 "2019-10-21T05:59:00Z")

</div>

Any suggestions please?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 22, 2019, 8:19am UTC](https://discuss.elastic.co/t/elasticsearch-6-5-installer-is-not-compatible-with-java-11/203898/3 "2019-10-22T08:19:47Z")

</div>

can you share output from your logfiles please, otherwise this will be hard to debug.

Also, which elasticsearch version and which java version are you using exactly?

Thanks!

---

<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:** [November 19, 2019, 8:19am UTC](https://discuss.elastic.co/t/elasticsearch-6-5-installer-is-not-compatible-with-java-11/203898/4 "2019-11-19T08:19:49Z")

</div>

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