JAVA_HOME currently points to /usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64, but JVM actually resides in /usr/lib/jvm/java-1.8.0-amazon-corretto:
sh-4.2# echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64
sh-4.2# ls $JAVA_HOME
ls: cannot access /usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64: No such file or directory
sh-4.2# ls /usr/lib/jvm/java-1.8.0-amazon-corretto
ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README bin include javafx-src.zip jre lib man src.zip version.txt
JAVA_HOME currently points to
/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64
, but JVM actually resides in/usr/lib/jvm/java-1.8.0-amazon-corretto
: