Skip to main content

java-temurin

Download and install Eclipse Temurin Java (OpenJDK)

load.sh java-temurin

Usage​

load.sh java-temurin -- [options]

Downloads and installs Eclipse Temurin (Adoptium) OpenJDK binary distribution for x86_64 and aarch64 Linux.
Uses the Adoptium API to resolve the latest patch release for the requested major version.

Options:
-h, --help Show this help and exit
--version <version> Java major version to install (default: 21)
LTS versions: 8, 11, 17, 21, 25
Non-LTS versions require confirmation (or --yes)
--yes, -y Skip confirmation for non-LTS versions
--force Re-download even if already installed
--dry-run Print actions without executing them
--manifest [--version <version>]
Print installation manifest and exit
Without --version: removes all versions (default)
With --version: removes only specific version

Examples:
load.sh java-temurin
load.sh java-temurin -- --version 17
load.sh java-temurin -- --version 14 --yes
load.sh java-temurin -- --dry-run
load.sh java-temurin -- --manifest --version 17

Script page · Source