Setting Up OpenJDK - dogtagpki/pki GitHub Wiki

Installation

To install OpenJDK 17 JRE:

$ dnf install java-17-openjdk

To install OpenJDK 17 JDK:

$ dnf install java-17-openjdk-devel

Switching Java Version

To switch JRE version:

$ alternatives --config java

To switch JDK version:

$ alternatives --config javac

See Also

⚠️ **GitHub.com Fallback** ⚠️