Table of Contents

Install JAVA

It is recommended to install the latest JAVA openjdk release available

Caution: Software releases produced after October 2025 will require running openJDK 21 or above.

Using Redpeaks Java installer

Manual install

Note: In the below example, jdk install folder is in /usr/lib/jvm/

wget https://download.java.net/java/GA/jdk25.0.1/2fbf10d8c78e40bd87641c434705079d/8/GPL/openjdk-25.0.1_linux-x64_bin.tar.gz
tar zxvf openjdk-20.0.1_linux-x64_bin.tar.gz -C /usr/lib/jvm/
alternatives --install  /usr/bin/java java /usr/lib/jvm/jdk-20.0.1/bin/java 99
alternatives --config java -> select new version

If a JAVA version is already installed on your system before the installation, use alternatives command to change the java version used by your system.

alternatives --config java                        # In case of upgrade: Switches the links to point to the new version
# logout and login again to have the environment variables defined.

Linux CentOS/RedHat

  sudo dnf install -y java-21-openjdk-headless    
  sudo alternatives --config java
  java -version

Linux Open SUSE Leap 15.2

Run the following commands to install JAVA openjdk 15

zypper up
zypper ar http://download.opensuse.org/repositories/Java:/Factory/openSUSE_Leap_15.2/ java
zypper mr -p 70 java
zypper refresh
zypper in java-15-openjdk [To try first in case it is already available]
java --version