Centos 8 install Java before installing the elasticstack?

Hi, in the documentation says that elasticsearch includes a bundled version of OpenJDK

Elasticsearch is built using Java, and includes a bundled version of OpenJDK from the JDK maintainers (GPLv2+CE) within each distribution. 

That means that its not necesary to install java before installing elasticsearch, logstash or kibana?

that's interesting, certainly /usr/share/elasticsearch/jdk/bin/java -version returns:

openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.1+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.1+7, mixed mode, sharing)

which is not the java-1.8.0-openjdk-headless-1.8.0.252.b09-3.el8_2.x86_64 i installed, and uninstalling openjdk does not try to uninstall any of ELK as a dependency, and ps auxw|grep java shows the ES version running, so seems like openjdk is not required, but would like confirmation.

1 Like

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