# Java 8 & recommended version?

**URL:** https://discuss.elastic.co/t/java-8-recommended-version/20283
**Category:** Elasticsearch
**Created:** [October 16, 2014, 11:03am UTC](https://discuss.elastic.co/t/java-8-recommended-version/20283 "2014-10-16T11:03:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jilles\_van\_Gurp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jilles_van_gurp/32/879_2.png) [@Jilles\_van\_Gurp](https://discuss.elastic.co/u/Jilles_van_Gurp)
#### Post date: [October 16, 2014, 11:03am UTC](https://discuss.elastic.co/t/java-8-recommended-version/20283/1 "2014-10-16T11:03:42Z")

</div>

I know JDK 7u55 was labeled as OK some time ago and this is still listed as  
the official  
requirement: [http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/current/requirements.html](http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/current/requirements.html)

However, time has moved on and I was wondering what the testing status and  
advice is for more recent JDKs.

Particularly, I'd like to know whether Oracle JDK 8u25 safe for production  
use (on centos 7)? We've used JDK 8u20 without issues on our dev servers  
but it would be nice to have some guidance on this since we are moving to  
production soon with this. The reason we're using Java 8 is because we are  
using that for our apps as well and it is kind of nice to have just one jdk  
to worry about. Also, I suspect there may be some perfomance benefits given  
the amount of change that went into e.g. hotspot.

In general, an overview of common vms and status with respect to  
elasticsearch would be nice to have somewhere. There are quite a few  
different suppliers of vms at this point and picking one seems to be a bit  
of a black art & leap of faith currently. There's Openjdk, oracle jdk,  
Azul's Zulu (essentially openjdk as far as I know), and Azul's Zulu  
Enterprise. You can get each of these for Java 6, 7, and 8. Especially for  
openjdk, it also matters how it was built.

Jilles

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)
#### Post date: [October 17, 2014, 11:20pm UTC](https://discuss.elastic.co/t/java-8-recommended-version/20283/2 "2014-10-17T23:20:09Z")

</div>

Hi Jilles,

1.7u55 has indeed be the recommended version for a long time, but JDK 8u25  
is fine too. The page that you linked is from elasticsearch-hadoop and  
might be a bit outdated, we are trying to keep up to date information about  
recommended JVMs at the following URL:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

For reference we are also trying to improve our startup scripts so that  
they would fail to start if you are using a JVM with known issues. See for  
instance [Resiliency: Throw exception if the JVM will corrupt data. by rmuir · Pull Request #7580 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/pull/7580)

On Thu, Oct 16, 2014 at 1:03 PM, Jilles van Gurp [jillesvangurp@gmail.com](mailto:jillesvangurp@gmail.com)  
wrote:

> I know JDK 7u55 was labeled as OK some time ago and this is still listed  
> as the official requirement:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/current/requirements.html)
> 
> However, time has moved on and I was wondering what the testing status and  
> advice is for more recent JDKs.
> 
> Particularly, I'd like to know whether Oracle JDK 8u25 safe for production  
> use (on centos 7)? We've used JDK 8u20 without issues on our dev servers  
> but it would be nice to have some guidance on this since we are moving to  
> production soon with this. The reason we're using Java 8 is because we are  
> using that for our apps as well and it is kind of nice to have just one jdk  
> to worry about. Also, I suspect there may be some perfomance benefits given  
> the amount of change that went into e.g. hotspot.
> 
> In general, an overview of common vms and status with respect to  
> elasticsearch would be nice to have somewhere. There are quite a few  
> different suppliers of vms at this point and picking one seems to be a bit  
> of a black art & leap of faith currently. There's Openjdk, oracle jdk,  
> Azul's Zulu (essentially openjdk as far as I know), and Azul's Zulu  
> Enterprise. You can get each of these for Java 6, 7, and 8. Especially for  
> openjdk, it also matters how it was built.
> 
> Jilles
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Adrien Grand

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j64dH-%2Bp3YE7J9GNOt9JGb%3DeWsuE-4xX1YiUpNHoQKgPw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j64dH-%2Bp3YE7J9GNOt9JGb%3DeWsuE-4xX1YiUpNHoQKgPw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Patricia\_Dugan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patricia_dugan/32/1018_2.png) [@Patricia\_Dugan](https://discuss.elastic.co/u/Patricia_Dugan)
#### Post date: [January 2, 2015, 10:37pm UTC](https://discuss.elastic.co/t/java-8-recommended-version/20283/3 "2015-01-02T22:37:17Z")

</div>

Jilles, thanks for the mention. I am the community manager at Azul and am  
hoping to be of service if needed...

Yes, our Zulu product is a _free_ certified, Open Source implementation of  
Java 8 and OpenJDK which is ready for Linux, Windows, Mac OSx, and Docker.  
It is a complete Java SE 8, 7 and 6 compliant JDK & JVM, is free to  
download, use, and/or bundle with applications with no licensing  
restrictions.

Forum log in and downloads: bit.ly/azul-zulu-java [http://t.co/GOZuCqx59Z](http://t.co/GOZuCqx59Z)

Let me know if I can be of any help. Thank you.

Patricia

> **[Home](https://www.azul.com/)**
>
> With Azul you'll achieve new levels of Java performance with even higher security & stability. See why Java-based businesses trust Azul to get more from Java.

@patricia_dugan

@azulsystems

On Friday, October 17, 2014 4:20:23 PM UTC-7, Adrien Grand wrote:

> Hi Jilles,
> 
> 1.7u55 has indeed be the recommended version for a long time, but JDK 8u25  
> is fine too. The page that you linked is from elasticsearch-hadoop and  
> might be a bit outdated, we are trying to keep up to date information about  
> recommended JVMs at the following URL:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html#jvm-version)
> 
> For reference we are also trying to improve our startup scripts so that  
> they would fail to start if you are using a JVM with known issues. See for  
> instance [Resiliency: Throw exception if the JVM will corrupt data. by rmuir · Pull Request #7580 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/pull/7580)
> 
> On Thu, Oct 16, 2014 at 1:03 PM, Jilles van Gurp \<[jilles...@gmail.com](mailto:jilles...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > I know JDK 7u55 was labeled as OK some time ago and this is still listed  
> > as the official requirement:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/current/requirements.html)
> > 
> > However, time has moved on and I was wondering what the testing status  
> > and advice is for more recent JDKs.
> > 
> > Particularly, I'd like to know whether Oracle JDK 8u25 safe for  
> > production use (on centos 7)? We've used JDK 8u20 without issues on our dev  
> > servers but it would be nice to have some guidance on this since we are  
> > moving to production soon with this. The reason we're using Java 8 is  
> > because we are using that for our apps as well and it is kind of nice to  
> > have just one jdk to worry about. Also, I suspect there may be some  
> > perfomance benefits given the amount of change that went into e.g. hotspot.
> > 
> > In general, an overview of common vms and status with respect to  
> > elasticsearch would be nice to have somewhere. There are quite a few  
> > different suppliers of vms at this point and picking one seems to be a bit  
> > of a black art & leap of faith currently. There's Openjdk, oracle jdk,  
> > Azul's Zulu (essentially openjdk as far as I know), and Azul's Zulu  
> > Enterprise. You can get each of these for Java 6, 7, and 8. Especially for  
> > openjdk, it also matters how it was built.
> > 
> > Jilles
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> Adrien Grand

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/fbfa56c0-6ca6-4bfe-ba9c-36193e0ebf89%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fbfa56c0-6ca6-4bfe-ba9c-36193e0ebf89%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:41am UTC](https://discuss.elastic.co/t/java-8-recommended-version/20283/4 "2017-07-06T00:41:05Z")

</div>


