Skip to main content
100%

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

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

This example provides a shell script that automates the download of Oracle JDK 9 binaries from the Oracle website using command-line tools. The script defines a base URL for JDK 9.0.4 and a list of platform-specific files, including Linux tar archives, Windows executables, and API documentation. It uses `curl` with options like `-C -` for resuming interrupted downloads, `-L` for redirects, `-R` for timestamping, and `-O` (implied) with a cookie header to accept the Oracle license. The script also includes commented-out alternatives using `wget`, and documents its purpose for environments like Amazon EC2.

AI-generated description

Similar vizzes