install java 6 jdk "rpm" ubuntu 20.04 code example
Example: 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
sudo apt update
sudo apt install openjdk-11-jdk
sudo apt update
sudo apt install openjdk-8-jdk