E: Package 'oracle-java8-installer' has no installation candidate ubuntu 20.04 code example
Example: e package 'oracle-java8-installer' has no installation candidate ubuntu 16.04
sudo apt install openjdk-8-jdk
sudo apt install openjdk-8-jdk