Установите OpenJDK 8 SDK на Ubuntu
sudo apt-get install openjdk-8-jdk
Uninterested Unicorn
sudo apt-get install openjdk-8-jdk
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install default-jdk
sudo apt-get update
# JRE
sudo apt-get install openjdk-8-jre
sudo apt-get install openjdk-8-source