# Java version paid/free

**URL:** <https://discuss.elastic.co/t/java-version-paid-free/212352>\
**Category:** Elasticsearch\
**Created:** [December 18, 2019, 3:07pm UTC](https://discuss.elastic.co/t/java-version-paid-free/212352 "2019-12-18T15:07:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [December 18, 2019, 3:07pm UTC](https://discuss.elastic.co/t/java-version-paid-free/212352/1 "2019-12-18T15:07:10Z")

</div>

is java provided by elasticsearch falls in to paid product or free version?

# /usr/share/elasticsearch/jdk/bin/java

---

<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:** [December 19, 2019, 1:49am UTC](https://discuss.elastic.co/t/java-version-paid-free/212352/2 "2019-12-19T01:49:17Z")

</div>

The java bundled with Elasticsearch is OpenJDK, specifically [https://adoptopenjdk.net](https://adoptopenjdk.net)

---

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [December 19, 2019, 2:30am UTC](https://discuss.elastic.co/t/java-version-paid-free/212352/3 "2019-12-19T02:30:58Z")

</div>

It is not paid java , The Oracle Java is the paid one, in our case it is openJDK  
you can get more details of the type of java by giving  
` java --version`  
joseph@joseph-Inspiron-5570:~$ java --version  
openjdk 11.0.5 2019-10-15  
OpenJDK Runtime Environment (build 11.0.5+10-post-Ubuntu-0ubuntu1.1)  
OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.1, mixed mode, sharing)

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [December 19, 2019, 2:06pm UTC](https://discuss.elastic.co/t/java-version-paid-free/212352/4 "2019-12-19T14:06:12Z")

</div>

that is great then. as elk is on java version 13

/usr/share/elasticsearch/jdk/bin/java -version  
openjdk version "13.0.1" 2019-10-15  
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.1+9)  
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.1+9, mixed mode, sharing)

---

<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:** [January 16, 2020, 2:06pm UTC](https://discuss.elastic.co/t/java-version-paid-free/212352/5 "2020-01-16T14:06:24Z")

</div>

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