-
12 which javac 13 readlink -f /usr/bin/javac 14 vi /etc/profile #export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64 source /etc/profile echo $JAVA_HOME