Java jdk 11 Ubuntu
$ sudo apt install openjdk-11-jdk
Wild Wolf
$ sudo apt install openjdk-11-jdk
sudo apt install openjdk-8-jdk
sudo add-apt-repository ppa:openjdk-r/ppa # only Ubuntu 17.4 and earlier
sudo apt update
sudo apt install openjdk-8-jdk
$ sudo apt install default-jdk
$ Java -version $ sudo dpkg -i jdk-version.deb $ ls /user/lib/jvm $ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-16.0.1/bin/java 1 $ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-16.0.1/bin/javac 1 $ java -version $ javac -version