Install OpenJDK 8 on Debian 10 (Buster)

The Java Development Kit (JDK) is a software development environment used for developing Java applications and applets. It includes the Java Runtime Environment (JRE), an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator (Javadoc) and other tools needed in Java development.

1. Add AdoptOpenJDK Repo

We need to add adopt OpenJDK repo in order to install OpenJDK 8 on Debian.

sudo apt install -y wget gnupg software-properties-common

wget -qO - | sudo apt-key add -

sudo add-apt-repository --yes

2. Install Java 8

Here we will use apt to install Java 8 on Debian Buster

sudo apt update -y

sudo apt install adoptopenjdk-8-hotspot -y


0 Komentar