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