Installez OpenJDK 8 SDK sur Ubuntu
sudo apt-get install openjdk-8-jdk
Uninterested Unicorn
sudo apt-get install openjdk-8-jdk
I keep reading a lot of posts when I first get into trouble. This is how I once reached this website (https://kodlogs.net/340/unable-to-locate-package-openjdk-8-jre) and got the desired solution. You can read this post as well as visit here. I think it will be very useful for you
sudo apt-get install default-jre default-jdk