openjdk 1.8 install ubuntu 20.04 code example
Example 1: install openjdk 8 sdk on ubuntu
sudo apt-get install openjdk-8-jdk
Example 2: how to install java 8 on ubuntu 20.04
sudo apt update
sudo apt install openjdk-11-jdk
sudo apt update
sudo apt install openjdk-8-jdk
Example 3: install netbeans 8.2 ubuntu 20.04
sudo apt install default-jdk
sudo snap install netbeans --classic
#for remove netbeans
sudo snap remove netbeans