Zainstaluj openjdk 8 sdk na Ubuntu
sudo apt-get install openjdk-8-jdk
Uninterested Unicorn
sudo apt-get install openjdk-8-jdk
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
sudo apt-get update && sudo apt-get install adoptopenjdk-8-hotspot