Search code examples
javaoracledockerdevopsopenjdk-11

openjdk-11.0.1_linux-x64_bin.tar url is not working(https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz )


In Docker file we are using the below url to download jdk11 but its not working anymore.

https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz

Getting error

wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -O jdk.tar.gz -nv The certificate's owner does not match hostname 'download.java.net'

Is there any other way to download it?


Solution

  • The site https://download.java.net/ has an SSL certificate error.

    The configured certificate for this site lists the domain download.oracle.com (domain mismatch).

    Maybe because The JDK 11 Early Access Program has concluded see:

    https://jdk.java.net/11/

    Try to download from: https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-x64_linux_11.0.3_7.tar.gz