openJDK
- Version:
17
- Category:
lang
- Cluster:
Loki
Description
OpenJDK (Open Java Development Kit) is the official reference implementation of the Java Platform, Standard Edition (Java SE). This module provides OpenJDK version 17, a Long-Term Support (LTS) release, offering stability, performance improvements, and modern Java features.
Documentation
$ java --help
$ javac --help
$ jshell
Useful commands:
java : Launch Java applications
javac : Compile Java source files
jar : Package Java archives
javadoc: Generate HTML documentation
jshell : Java REPL (interactive shell)
Version check:
$ java -version
openjdk version "17.0.x" ...
Official docs: - https://docs.oracle.com/en/java/javase/17/ - https://openjdk.org/projects/jdk/17/
Examples/Usage
List available modules:
$ module avail openjdk
Load the openjdk module:
$ module load openJDK/17.0
Check the loaded modules:
$ module list
Unload the openjdk module:
$ module unload openJDK/17.0
Installation
Source code is obtained from openJDK