# Elasticsearch with 1.8 JRE?

**URL:** https://discuss.elastic.co/t/elasticsearch-with-1-8-jre/19232
**Category:** Elasticsearch
**Created:** [August 12, 2014, 2:00pm UTC](https://discuss.elastic.co/t/elasticsearch-with-1-8-jre/19232 "2014-08-12T14:00:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Derry\_O\_Sullivan](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@Derry\_O\_Sullivan](https://discuss.elastic.co/u/Derry_O_Sullivan)
#### Post date: [August 12, 2014, 2:00pm UTC](https://discuss.elastic.co/t/elasticsearch-with-1-8-jre/19232/1 "2014-08-12T14:00:10Z")

</div>

Hi all,

I know that JRE 1.7.0\_55 is the 'recommended' jre for ES  
1.2+:[http://www.elasticsearch.org/blog/java-1-7u55-safe-use-elasticsearch-lucene/](http://www.elasticsearch.org/blog/java-1-7u55-safe-use-elasticsearch-lucene/)

There seems to have been some posts regarding Java 8/MVEL issues  
(e.g. [http://jira.codehaus.org/browse/MVEL-299](http://jira.codehaus.org/browse/MVEL-299)) but is the current JRE 8  
(11) ok for production ES usage?

Didn't spot anything on the lucene side of things so i guess more of an ES  
compilation/test question.  
[http://wiki.apache.org/lucene-java/JavaBugs](http://wiki.apache.org/lucene-java/JavaBugs)

Thanks,

Derry

--  
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/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)
#### Post date: [August 12, 2014, 2:09pm UTC](https://discuss.elastic.co/t/elasticsearch-with-1-8-jre/19232/2 "2014-08-12T14:09:51Z")

</div>

You can use Java 8u5

Do not use Java 8u11 with Groovy or Guava, there is a bug  
[https://bugs.openjdk.java.net/browse/JDK-8051012](https://bugs.openjdk.java.net/browse/JDK-8051012)

Jörg

On Tue, Aug 12, 2014 at 4:00 PM, Derry O' Sullivan [derryos@gmail.com](mailto:derryos@gmail.com)  
wrote:

> Hi all,
> 
> I know that JRE 1.7.0\_55 is the 'recommended' jre for ES 1.2+:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/blog/java-1-7u55-safe-use-elasticsearch-lucene/)
> 
> There seems to have been some posts regarding Java 8/MVEL issues (e.g.  
> [http://jira.codehaus.org/browse/MVEL-299](http://jira.codehaus.org/browse/MVEL-299)) but is the current JRE 8 (11)  
> ok for production ES usage?
> 
> Didn't spot anything on the lucene side of things so i guess more of an ES  
> compilation/test question.  
> [JavaBugs - Apache Lucene (Java) - Apache Software Foundation](http://wiki.apache.org/lucene-java/JavaBugs)
> 
> Thanks,
> 
> Derry
> 
> --  
> 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/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAKdsXoGFb%2Be%2BgyZTjU9hyCuDhO60q2332R2yRQ1%3DUG63EmJ1Tg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGFb%2Be%2BgyZTjU9hyCuDhO60q2332R2yRQ1%3DUG63EmJ1Tg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Derry\_O\_Sullivan](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@Derry\_O\_Sullivan](https://discuss.elastic.co/u/Derry_O_Sullivan)
#### Post date: [August 12, 2014, 2:13pm UTC](https://discuss.elastic.co/t/elasticsearch-with-1-8-jre/19232/3 "2014-08-12T14:13:28Z")

</div>

Hi Jorg,

Thanks for the fast response. Looks like it affects jre7U65 so i guess the  
safe options are:  
1.7.0 (55/60) or 1.8.0 (5)

Derry

On 12 August 2014 15:09, [joergprante@gmail.com](mailto:joergprante@gmail.com) [joergprante@gmail.com](mailto:joergprante@gmail.com)  
wrote:

> You can use Java 8u5
> 
> Do not use Java 8u11 with Groovy or Guava, there is a bug  
> [Loading...](https://bugs.openjdk.java.net/browse/JDK-8051012)
> 
> Jörg
> 
> On Tue, Aug 12, 2014 at 4:00 PM, Derry O' Sullivan [derryos@gmail.com](mailto:derryos@gmail.com)  
> wrote:
> 
> > Hi all,
> > 
> > I know that JRE 1.7.0\_55 is the 'recommended' jre for ES 1.2+:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/blog/java-1-7u55-safe-use-elasticsearch-lucene/)
> > 
> > There seems to have been some posts regarding Java 8/MVEL issues (e.g.  
> > [http://jira.codehaus.org/browse/MVEL-299](http://jira.codehaus.org/browse/MVEL-299)) but is the current JRE 8 (11)  
> > ok for production ES usage?
> > 
> > Didn't spot anything on the lucene side of things so i guess more of an  
> > ES compilation/test question.  
> > [JavaBugs - Apache Lucene (Java) - Apache Software Foundation](http://wiki.apache.org/lucene-java/JavaBugs)
> > 
> > Thanks,
> > 
> > Derry
> > 
> > --  
> > 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/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cd344c47-0f6e-4254-b0fe-5d2f03bb3797%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/NbvgObj\_y2s/unsubscribe](https://groups.google.com/d/topic/elasticsearch/NbvgObj_y2s/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/CAKdsXoGFb%2Be%2BgyZTjU9hyCuDhO60q2332R2yRQ1%3DUG63EmJ1Tg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGFb%2Be%2BgyZTjU9hyCuDhO60q2332R2yRQ1%3DUG63EmJ1Tg%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGFb%2Be%2BgyZTjU9hyCuDhO60q2332R2yRQ1%3DUG63EmJ1Tg%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGFb%2Be%2BgyZTjU9hyCuDhO60q2332R2yRQ1%3DUG63EmJ1Tg%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAOGQnJrL1NUyUqBnRPCoV\_mvm6sk4xz8BottDZhSDTS4WmBAyw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOGQnJrL1NUyUqBnRPCoV_mvm6sk4xz8BottDZhSDTS4WmBAyw%40mail.gmail.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, 1:09am UTC](https://discuss.elastic.co/t/elasticsearch-with-1-8-jre/19232/4 "2017-07-06T01:09:11Z")

</div>


