# Recommended jre version/update for Elasticsearch 1.0.0.Beta2

**URL:** <https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686>\
**Category:** Elasticsearch\
**Created:** [February 10, 2014, 4:33am UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686 "2014-02-10T04:33:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ia\_Soudina](https://avatars.discourse-cdn.com/v4/letter/i/e274bd/32.png) [@Ia\_Soudina](https://discuss.elastic.co/u/Ia_Soudina)\
**Post date:** [February 10, 2014, 4:33am UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686/1 "2014-02-10T04:33:25Z")

</div>

Hi,

I heard before that jre 7u40 to 7u45 were not recommended to use with  
Elasticsearch. I used jre-7u25 with Elasticsearch 0.90.x We are now using  
Beta2 version, and i noticed that latest java update is jre-7u51, would it  
be ok to use it with Elasticsearch 1.0.0.Beta2?

Regards,  
Ia

--  
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/be0d04a4-ed4b-4a08-8e98-dd2334049acb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/be0d04a4-ed4b-4a08-8e98-dd2334049acb%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [February 10, 2014, 6:11am UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686/2 "2014-02-10T06:11:38Z")

</div>

The issues that plague 7u40 and 7u45 are related to Lucene and not directly  
to Elasticsearch. Lucene is being continually being built with Java 7u51  
and 7u60 and I do not think any major issues have been found yet. There are  
several Lucene committers on this list, so maybe they will chime in (I only  
read the Lucene user mailing list, not the developer one).

--  
Ivan

On Sun, Feb 9, 2014 at 8:33 PM, Ia Soudina [ia.soudina@gmail.com](mailto:ia.soudina@gmail.com) wrote:

> Hi,
> 
> I heard before that jre 7u40 to 7u45 were not recommended to use with  
> Elasticsearch. I used jre-7u25 with Elasticsearch 0.90.x We are now using  
> Beta2 version, and i noticed that latest java update is jre-7u51, would it  
> be ok to use it with Elasticsearch 1.0.0.Beta2?
> 
> Regards,  
> Ia
> 
> --  
> 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/be0d04a4-ed4b-4a08-8e98-dd2334049acb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/be0d04a4-ed4b-4a08-8e98-dd2334049acb%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CALY%3DcQC5p0MnMk5AvuAksHpVFZ8wGHA%3Dt6bfwJRQs3yJt\_xUYQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQC5p0MnMk5AvuAksHpVFZ8wGHA%3Dt6bfwJRQs3yJt_xUYQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [February 10, 2014, 8:26am UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686/3 "2014-02-10T08:26:45Z")

</div>

Do not use Java 7u51, Lucene bug still not fixed

> <https://twitter.com/thetaph1/status/423523708708208640>

It also breaks Guava which is used in Elasticsearch.

> <https://github.com/google/guava/issues/1635>

Jörg

--  
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/CAKdsXoGvPUnnA%3D-R8uhMyvR3-77uPMyJ3eZq8SXeUFYt295e0g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGvPUnnA%3D-R8uhMyvR3-77uPMyJ3eZq8SXeUFYt295e0g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [February 10, 2014, 3:00pm UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686/4 "2014-02-10T15:00:54Z")

</div>

My understanding was that the scope of the JFK/Guava bug was limited and did not affect Lucene/Solr. Elasticsearch uses Guava for collections and caching, not sure about reflection.

--  
Ivan

[joergprante@gmail.com](mailto:joergprante@gmail.com) wrote:

> Do not use Java 7u51, Lucene bug still not fixed
> 
> [https://twitter.com/thetaph1/status/423523708708208640](https://twitter.com/thetaph1/status/423523708708208640)
> 
> It also breaks Guava which is used in Elasticsearch.
> 
> [JDK and Guava TypeVariable implementations are no longer compatible under 1.7.0\_51-b13 · Issue #1635 · google/guava · GitHub](https://code.google.com/p/guava-libraries/issues/detail?id=1635)
> 
> Jörg
> 
> --  
> 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/CAKdsXoGvPUnnA%3D-R8uhMyvR3-77uPMyJ3eZq8SXeUFYt295e0g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGvPUnnA%3D-R8uhMyvR3-77uPMyJ3eZq8SXeUFYt295e0g%40mail.gmail.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/do0j9eyac8dxnro55emllh3j.1392044454453%40email.android.com](https://groups.google.com/d/msgid/elasticsearch/do0j9eyac8dxnro55emllh3j.1392044454453%40email.android.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [February 10, 2014, 4:15pm UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686/5 "2014-02-10T16:15:25Z")

</div>

Yes, this time ES is lucky...

Jörg

On Mon, Feb 10, 2014 at 4:00 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> My understanding was that the scope of the JFK/Guava bug was limited and  
> did not affect Lucene/Solr. Elasticsearch uses Guava for collections and  
> caching, not sure about reflection.

--  
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/CAKdsXoES1J%3DubOoccE4Ei-%3Dt\_wgrbx8dvLe%3DAgGgPxuWXE%2B7-Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoES1J%3DubOoccE4Ei-%3Dt_wgrbx8dvLe%3DAgGgPxuWXE%2B7-Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [February 10, 2014, 7:17pm UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686/6 "2014-02-10T19:17:33Z")

</div>

BTW, I cannot believe 7u51 did not fix the previous Lucene bug since it has  
been known for a while. So frustrating. ETA for 7u60 is May. 7u25 will be  
almost a year old by then.

--  
Ivan

On Mon, Feb 10, 2014 at 8:15 AM, [joergprante@gmail.com](mailto:joergprante@gmail.com) \<  
[joergprante@gmail.com](mailto:joergprante@gmail.com)\> wrote:

> Yes, this time ES is lucky...
> 
> Jörg
> 
> On Mon, Feb 10, 2014 at 4:00 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> 
> > My understanding was that the scope of the JFK/Guava bug was limited and  
> > did not affect Lucene/Solr. Elasticsearch uses Guava for collections and  
> > caching, not sure about reflection.
> > 
> > --  
> > 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/CAKdsXoES1J%3DubOoccE4Ei-%3Dt\_wgrbx8dvLe%3DAgGgPxuWXE%2B7-Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoES1J%3DubOoccE4Ei-%3Dt_wgrbx8dvLe%3DAgGgPxuWXE%2B7-Q%40mail.gmail.com)  
> > .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CALY%3DcQC%2B%2BzDhO5rogc%3DfUAkWpvGnBp8z4uJV4ua%3DnZ%3Dh01V%2B-Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQC%2B%2BzDhO5rogc%3DfUAkWpvGnBp8z4uJV4ua%3DnZ%3Dh01V%2B-Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [February 10, 2014, 8:09pm UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686/7 "2014-02-10T20:09:58Z")

</div>

If you are tired of Java 7, use Java 8 😉

[https://twitter.com/thetaph1/status/410494532816760832](https://twitter.com/thetaph1/status/410494532816760832)

Oracle Java 8 FCS is already out. GA version will be ready in March.

But I know of issues with Java 8 and MVEL, so if you use MVEL scripts, be  
aware...

Jörg

On Mon, Feb 10, 2014 at 8:17 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> BTW, I cannot believe 7u51 did not fix the previous Lucene bug since it  
> has been known for a while. So frustrating. ETA for 7u60 is May. 7u25 will  
> be almost a year old by then.

--  
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/CAKdsXoH0trG1Xb7pNNqmqz2R9%2Bc5JmGwT%2BtqD8KEnLHDQeaD%2Bw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoH0trG1Xb7pNNqmqz2R9%2Bc5JmGwT%2BtqD8KEnLHDQeaD%2Bw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ia\_Soudina](https://avatars.discourse-cdn.com/v4/letter/i/e274bd/32.png) [@Ia\_Soudina](https://discuss.elastic.co/u/Ia_Soudina)\
**Post date:** [February 10, 2014, 11:02pm UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686/8 "2014-02-10T23:02:28Z")

</div>

We will continue to use jre-7u25 until 7u60 will be released. Thank you for  
your replies.

--  
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/a7606255-067e-46a6-a17d-3bda886c6a52%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a7606255-067e-46a6-a17d-3bda886c6a52%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:51am UTC](https://discuss.elastic.co/t/recommended-jre-version-update-for-elasticsearch-1-0-0-beta2/15686/9 "2017-07-06T01:51:20Z")

</div>


