add jdk11 enviroment variable ubuntu code example Example: java jdk java_home home ubuntu openjdk-8-jdk export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64