corretto/corretto-8-docker

JAVA_HOME seems to be incorrect

nikarh opened this issue · 3 comments

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

Thanks for the report! Taking a look ...

Good find! I'm updating the 8-al2-full branch now. It looks like #32 addresses master.

Fixed by 055b9f3