My pattern here is as follows:
- surf to Oracle’s Download page, for JDK 10 it is https://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html
- accept the BCL
- copy the link to the
.tar.gz
archive intoinstall-jdk.sh
around line 200