ubuntu java jdk path code example Example: jdk path ubuntu export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64