How to Install default-jdk in Ubuntu 18.04



Install default-jdk by entering the following commands in the terminal:

sudo apt update
sudo apt install default-jdk

Description:

Standard Java or Java compatible Development Kit

This dependency package points to the Java runtime, or Java compatible development kit recommended for this architecture, which is openjdk-11-jdk for amd64.

Homepage: https://wiki.debian.org/Java/

Version: 2:1.10-63ubuntu1~02

Section: devel