LogScale on Bare Metal - Installing Java
LogScale is a Scala-based application that requires a JVM (Java Virtual Machine). A suitable JVM or JDK must be installed. The supported JVM version is listed on Release Notes.
Choose one of the following options:
LogScale uses Azul JDK for Starting with LogScale Cloud and Installing Using Containers deployments.
Use the OpenJDK:
shell$
apt-get install openjdk-21-jdk
To confirm the available Java version once installed:
shell
$ java --version
openjdk version "21.0.2" 2024-01-16 LTS
OpenJDK Runtime Environment Zulu21.32+17-CA (build 21.0.2+13-LTS)
OpenJDK 64-Bit Server VM Zulu21.32+17-CA (build 21.0.2+13-LTS, mixed mode, sharing)