Java Setup
ASI requires Java 17 or later. This page explains how to check which versions of OpenJDK are installed on your system and how to install and enable Java 17 as the default version.
Checking Installed Java Versions
To list all installed OpenJDK packages:
rpm -qa | grep openjdk
This shows every installed JDK and JRE package (such as Java 8, 11, 17, or 21).
To determine which Java version is currently active:
java --version
To check the compiler version:
javac --version
This must also report version 17 or later.
Installing Java 17
If Java 17 is not listed, install it using:
dnf install -y java-17-openjdk-devel
This installs both the Java 17 runtime and development tools.