Pular para o conteúdo principal

java-corretto

Download and install Amazon Corretto OpenJDK

load.sh java-corretto

Usage​

load.sh java-corretto -- [options]

Downloads and installs Amazon Corretto OpenJDK binary distribution for x86_64 and aarch64 Linux.

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-corretto
load.sh java-corretto -- --version 17
load.sh java-corretto -- --version 14 --yes
load.sh java-corretto -- --dry-run
load.sh java-corretto -- --manifest --version 21

Script page · Source