Logo TheBeArsenal

Linux | Technical Handbook

Install Eclipse Temurin JDK 21 in Debian

Solution
Update package sources, add eclipse adoptium.

  • wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo apt-key add -
  • echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list
  • sudo apt update
  • sudo apt install temurin-21-jdk