ubuntu install openjdk-11-jdk code example
Example 1: install openjdk 11 ubuntu
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install default-jdk
Example 2: sudo apt install openjdk-14-jdk
$ apt search openjdk
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install default-jdk
$ apt search openjdk