We're updating the issue view to help you get more done. 

New Java endpoint that ties into the AdpotOpenJDK builds

Description

Java providers like AdoptOpenJDK have a large number of different java builds across many platforms and an API to find the available versions and download them. Add a new Java endpoint capable of installing any version of Java from AdoptOpenJDK's API

Endpoint IDs are the in the format

1 <version>_<type>_<arch>_<os>_<jvm-implementation>_<release>

Example:

1 OpenJDK8_jre_x64_windows_hotspot_8u181b13

Here are the possible options for each section of the ID.

1 2 3 4 5 6 <version> : openjdk8, openjdk9, openjdk10, etc... <type> : jdk, jre <arch> : x64, x32, ppc64, s390x, ppc64le, aarch64 <os> : windows, linux, mac <jvm-implementation> : hotspot, openj9 <release> : latest, jdk8u172, jdk8u172-b00, etc...

For anything not specified in the endpoint ID, the endpoint will default as follows:

  • type - jre

  • arch - Whatever the current OS arch is

  • os - Whatever the current OS is

  • JVM-implementation - hotspot

  • release - latest

The endpoint will use the local artifacts cache.

Examples:

1 2 3 4 install java:openjdk8 install java:openjdk8_jre install java:OpenJDK8_jdk_8u181b13 install java:OpenJDK8_jre_x64_windows_hotspot_8u181b13

Links:
https://api.adoptopenjdk.net/
https://api.adoptopenjdk.net/v2/info/nightly/openjdk8?openjdk_impl=hotspot

Status

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Fix versions

Priority

Major