CentOS installe openjdk 11
sudo yum install java-11-openjdk-devel
Graceful Gnat
sudo yum install java-11-openjdk-devel
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