Is the java jdk by default available in elk stack 8.2

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

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

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


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


@stephenb can you anser me here ?

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