how to version of jre and jdk ubuntu code example Example: ubuntu install jre sudo apt install openjdk-8-jre