Funciona em
WindowsmacOSLinux
Instaladores disponíveis
Comandos
Winget Windows
Fonte oficial · EclipseAdoptium.Temurin.21.JDK
Instalar
powershell
winget install --id EclipseAdoptium.Temurin.21.JDK -eDesinstalar
powershell
winget uninstall --id EclipseAdoptium.Temurin.21.JDK -eHomebrew macOS
Fonte oficial · temurin@21
Instalar
zsh
brew install --cask temurin@21Desinstalar
zsh
brew uninstall --cask temurin@21APT Linux
Fonte oficial · openjdk-21-jdk · exige admin
Instalar
bash
sudo apt-get update && sudo apt-get install -y openjdk-21-jdkDesinstalar
bash
sudo apt-get remove -y openjdk-21-jdk