sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt install openjdk-11-jdk
sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt install openjdk-11-jdk if error run: sudo apt --fix-broken install