e package 'oracle-java8-installer' has no installation candidate in ubuntu 18.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