install openjdk 10 ubuntu 18.04 code example
Example: install openjdk 11 ubuntu
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install default-jdk
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install default-jdk