Stable links to "current" releases
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Mon Mar 5 16:38:15 UTC 2018
2018/3/4 8:00:33 -0800, Mark Raynsford <org.openjdk at io7m.com>:
> I'm considering putting together a Maven plugin that's capable of
> producing jlinked distributions for a selectable range of platforms.
> That is, you can specify that you want to produce a distribution for
> macOS, Linux, and Windows, and you'll get one for each of those
> platforms in a single plugin execution.
>
> Actually achieving this would involve fetching a binary distribution of
> the JDK for each specified platform at build time (and caching it
> locally, as it's rather a large download).
>
> Is there any chance we could get "current" links for the OpenJDK builds?
> For example, the plugin could simply hit:
>
> https://download.java.net/java/GA/jdk9/current/binaries/openjdk-current_windows-x64_bin.tar.gz
> https://download.java.net/java/GA/jdk9/current/binaries/openjdk-current_windows-x64_bin.tar.gz.sha256
>
> ... and would automatically get whatever is the latest version of JDK 9
> released.
>
> The plugin could, of course, specify version numbers manually, but I'd
> then be playing a constant game of catch-up for new versions and I'm not
> sure what (if any) guarantees download.java.net gives for old versions
> of binaries.
Interesting idea -- I think we could work something out here.
I assume you're primarily interested in the GPL'd OpenJDK builds?
How about URLs such as the following:
jdk.java.net/10/{linux,macos,windows}-x64
jdk.java.net/10.0.1/{linux,macos,windows}-x64
jdk.java.net/10.0.2/{linux,macos,windows}-x64
jdk.java.net/10/latest -> 10.0.2
jdk.java.net/latest -> 10/latest
Each of these would, in turn, redirect to an actual .tgz file over on
download.java.net.
- Mark
More information about the web-discuss
mailing list