openjdk 8 ubuntu 18.04 install code example Example: ubuntu install openjdk 8 source sudo apt-get install openjdk-8-source