carlossg / docker-maven

Official Docker image with Maven
Apache License 2.0
524 stars 423 forks source link

JAVA HOME PATH not defined correctly error thrown for ..sh file #323

Closed ZuciGayathri closed 1 year ago

ZuciGayathri commented 1 year ago

Using markhobson/maven-chrome-jdk-8 for my selnium test (/usr/local/openjdk-8/)this is java path whoch was working till 18 JAN 2023 recently faced belwo issue Command : RUN mv /app/java.security /usr/local/openjdk-8/jre/lib/security/java.security thrown no such file or directly modified JAVA_HOME=/opt/java/openjdk and worked fine but later

But all .sh files executing maven command is throwing error as JAVA HOME PATH not defined correctly .

carlossg commented 1 year ago

openjdk-8 is deprecated and hasn't been updated in a while