LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Monday, August 3, 2020

Install OpenJDK 8 on Debian 10 (Buster)

0 comments
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 - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -

sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/

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

Referencehttps://installvirtual.com/install-java-8-on-debian-10-buster/

No comments:

Post a Comment