export JAVA_HOME=/usr/lib/jvm/java-14-openjdk-amd64 export PATH=$PATH:$JAVA_HOME/bin #for test java -version