corretto / corretto-8-docker

Dockerfiles for Amazon Corretto 8
MIT No Attribution
195 stars 40 forks source link

JAVA_HOME seems to be incorrect #31

Closed nikarh closed 5 years ago

nikarh commented 5 years ago

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
EricEdens commented 5 years ago

Thanks for the report! Taking a look ...

EricEdens commented 5 years ago

Good find! I'm updating the 8-al2-full branch now. It looks like https://github.com/corretto/corretto-8-docker/pull/32 addresses master.

EricEdens commented 5 years ago

Fixed by https://github.com/corretto/corretto-8-docker/commit/055b9f36817325fbf5d2469150684ad8a4f4f1e4