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