evergreen
evergreen copied to clipboard
[New app]: Oracle JDKs/JREs
What is the new application?
https://www.oracle.com/java/technologies/jdk-script-friendly-urls/
Vendor site
https://www.oracle.com/java
Have you reviewed the list of supported applications?
- [X] Supported apps at: https://stealthpuppy.com/evergreen/apps/
It appears that the JREs no longer include an update component, so finding the version number
Java 1.8 uses this, but I can't find anything similar for Java 17 or 18: https://javadl-esd-secure.oracle.com/update/1.8.0/map-m-1.8.0.xml
https://www.oracle.com/java/technologies/jdk-script-friendly-urls/
The URLs are OK - there's nothing to return a version number (e.g. 18.0.2.1) though.
We can scrape them from Download URLs.
The URL will only provide the major version number - e.g. https://download.oracle.com/java/18/latest/jdk-18_windows-x64_bin.msi. The current v18 release is 18.0.2.1 which that URL won't return.
There's nothing in the headers for the URL either. No way that I can see so far to return a version number like 18.0.2.1.
I'll talk to oracle support and see if they can give any API for our use.
Found this: https://www.java.com/releases/releases.json