Skip to main content
100%

JDK8 command line download script; For JDK10, please check: https://gist.github.com/P7h/9741922

✓ Published0🌍 Public
PP7h
Last edited Jul 25, 2018
Created on Sep 21, 2017

This shell script automates the download of Oracle JDK8 binaries for multiple platforms, including Windows, Linux, macOS, Solaris, and ARM architectures, from a single base URL. It defines an array of platform-specific file suffixes and iterates through them, invoking `curl` with the `-C -` resume flag, `-L` for redirects, `-R` to preserve remote timestamps, and the `Cookie: oraclelicense=accept-securebackup-cookie` header to accept Oracle’s license terms. The script also includes a commented list of earlier JDK8 versions for reference.

AI-generated description

Similar vizzes