# Is the java jdk by default available in elk stack 8.2

**URL:** <https://discuss.elastic.co/t/is-the-java-jdk-by-default-available-in-elk-stack-8-2/308192>\
**Category:** Elasticsearch\
**Created:** [June 26, 2022, 8:02pm UTC](https://discuss.elastic.co/t/is-the-java-jdk-by-default-available-in-elk-stack-8-2/308192 "2022-06-26T20:02:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Firas\_Bougrine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/firas_bougrine/32/103349_2.png) [@Firas\_Bougrine](https://discuss.elastic.co/u/Firas_Bougrine)\
**Post date:** [June 26, 2022, 8:02pm UTC](https://discuss.elastic.co/t/is-the-java-jdk-by-default-available-in-elk-stack-8-2/308192/1 "2022-06-26T20:02:38Z")

</div>

is the java jdk by default available in elk stack 8.2 ?  
because when i try java --version this the response

```auto
elastic@elastic:~$ java -version
Command 'java' not found, but can be installed with:
sudo apt install openjdk-11-jre-headless # version 11.0.15+10-0ubuntu0.22.04.1, or
sudo apt install default-jre # version 2:1.11-72build2
sudo apt install openjdk-17-jre-headless # version 17.0.3+7-0ubuntu0.22.04.1
sudo apt install openjdk-18-jre-headless # version 18~36ea-1
sudo apt install openjdk-8-jre-headless # version 8u312-b07-0ubuntu1

```

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [June 26, 2022, 8:39pm UTC](https://discuss.elastic.co/t/is-the-java-jdk-by-default-available-in-elk-stack-8-2/308192/2 "2022-06-26T20:39:21Z")

</div>

The needed Java runtime is part of the installs and contained within the installs, the installers do not install external jdk.

In other words, you do not need external or global JDK. You can if you'd like, but then you'll need to do a little extra configuration.

If you just install the elastic stack components they will be fully self-contained.

How do you intend to install tar.gz or .deb or .rpm

---

<div class="post-metadata">

**Author:** ![Firas\_Bougrine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/firas_bougrine/32/103349_2.png) [@Firas\_Bougrine](https://discuss.elastic.co/u/Firas_Bougrine)\
**Post date:** [June 26, 2022, 9:00pm UTC](https://discuss.elastic.co/t/is-the-java-jdk-by-default-available-in-elk-stack-8-2/308192/3 "2022-06-26T21:00:37Z")

</div>

.deb

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [June 26, 2022, 9:32pm UTC](https://discuss.elastic.co/t/is-the-java-jdk-by-default-available-in-elk-stack-8-2/308192/4 "2022-06-26T21:32:38Z")

</div>

Java is part of the install but it will be installed within the elasticsearch install... It is not intended to be your system Java

---

<div class="post-metadata">

**Author:** ![Firas\_Bougrine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/firas_bougrine/32/103349_2.png) [@Firas\_Bougrine](https://discuss.elastic.co/u/Firas_Bougrine)\
**Post date:** [June 26, 2022, 9:33pm UTC](https://discuss.elastic.co/t/is-the-java-jdk-by-default-available-in-elk-stack-8-2/308192/5 "2022-06-26T21:33:29Z")

</div>

thanks

---

<div class="post-metadata">

**Author:** ![Firas\_Bougrine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/firas_bougrine/32/103349_2.png) [@Firas\_Bougrine](https://discuss.elastic.co/u/Firas_Bougrine)\
**Post date:** [June 26, 2022, 9:40pm UTC](https://discuss.elastic.co/t/is-the-java-jdk-by-default-available-in-elk-stack-8-2/308192/6 "2022-06-26T21:40:29Z")

</div>

@stephenb can you anser me here ?

> [@Why i can't to access to the interface of kibana?](https://discuss.elastic.co/t/why-i-cant-to-access-to-the-interface-of-kibana/308195):
>
> i already installed elastic and kibana 8.2 in ubuntu 22.04 and i try to access kibana from the browser of my host it told me "Kibana server is not ready yet" this my elastic and kibana yml files : network.host: 192.168.1.10 # # By default Elasticsearch listens for HTTP traffic on the first free port it # finds starting at 9200. Set a specific HTTP port here: # #http.port: 9200 # # For more information, consult the network module documentation. # # --------------------------------- Discovery -…

---

<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 24, 2022, 9:40pm UTC](https://discuss.elastic.co/t/is-the-java-jdk-by-default-available-in-elk-stack-8-2/308192/7 "2022-07-24T21:40:42Z")

</div>

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