how to check env vars openjdk on ubuntu from command line code example
Example: java jdk java_home home ubuntu openjdk-8-jdk
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64