how to install jdk in ubuntu 20.04 terminal code example
Example 1: install jdk linux
sudo apt install openjdk-8-jdk
Example 2: ubuntu install jdk 14
sudo add-apt-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java14-installer oracle-java14-set-default
Example 3: install java on ubuntu 20.04
sudo apt install default-jre