# OpenJDK vs Oracle

**URL:** <https://discuss.elastic.co/t/openjdk-vs-oracle/158234>\
**Category:** Elasticsearch\
**Created:** [November 26, 2018, 7:15pm UTC](https://discuss.elastic.co/t/openjdk-vs-oracle/158234 "2018-11-26T19:15:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesusgn90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesusgn90/32/26998_2.png) [@jesusgn90](https://discuss.elastic.co/u/jesusgn90)\
**Post date:** [November 26, 2018, 7:15pm UTC](https://discuss.elastic.co/t/openjdk-vs-oracle/158234/1 "2018-11-26T19:15:55Z")

</div>

Hi guys, since our company always bets for open source and free alternatives, is there a reason to use Oracle for the Java packages or we can use OpenJDK without fear about breaking environments? We would like to use OpenJDK always, but you guys are not so clear about using it or Oracle.

Best regards!

---

<div class="post-metadata">

**Author:** ![rjernst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rjernst/32/6363_2.png) [@rjernst](https://discuss.elastic.co/u/rjernst)\
**Post date:** [November 26, 2018, 7:30pm UTC](https://discuss.elastic.co/t/openjdk-vs-oracle/158234/2 "2018-11-26T19:30:27Z")

</div>

We try to be as clear as possible in our [support matrix](https://www.elastic.co/support/matrix#matrix_jvm). We do support OpenJDK (iced tea builds on supported OSes, as well as oracle openjdk).

---

<div class="post-metadata">

**Author:** ![jesusgn90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesusgn90/32/26998_2.png) [@jesusgn90](https://discuss.elastic.co/u/jesusgn90)\
**Post date:** [November 26, 2018, 7:58pm UTC](https://discuss.elastic.co/t/openjdk-vs-oracle/158234/3 "2018-11-26T19:58:08Z")

</div>

Hi @rjernst,

What I meant is as follow:

I have a CentOS 7 instance (example), Is Elasticsearch 6.5.X \>= going to work properly regardless of Oracle/OpenJDK?

Best regards,  
Jesús

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [November 27, 2018, 1:38am UTC](https://discuss.elastic.co/t/openjdk-vs-oracle/158234/4 "2018-11-27T01:38:10Z")

</div>

Yes, that is what the support matrix says.

We have a single column that lists "Oracle / OpenJDK" because we support both equally (\*\*). If there is something unclear about that page, can you point it out because I cannot see any ambiguity there.

> (\*\*) Elastic supports OpenJDK builds by the IcedTea Project as well as those produced by OS vendors in the "Product and Operating System" matrix which have passed the TCK tests.

---

<div class="post-metadata">

**Author:** ![jesusgn90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesusgn90/32/26998_2.png) [@jesusgn90](https://discuss.elastic.co/u/jesusgn90)\
**Post date:** [November 28, 2018, 9:43am UTC](https://discuss.elastic.co/t/openjdk-vs-oracle/158234/5 "2018-11-28T09:43:40Z")

</div>

Okay @TimV all is clear for me now. I'm a bit scared about deploying production environments using OpenJDK instead of Oracle, but now I'm a bit more relaxed.

Such always, many thanks guys, awesome work!

Regards,  
Jesús

---

<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:** [December 26, 2018, 9:43am UTC](https://discuss.elastic.co/t/openjdk-vs-oracle/158234/6 "2018-12-26T09:43:41Z")

</div>

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