I asked our Java people and they answered the following:

I believe when you're using the api query that requests a specific version, for OpenJ9 builds you 
need to include the OpenJ9 version in the `release_name` field. If I change your url below from 
"11.0.13+8" to "11.0.13+8_openj9-0.29.0" it works.

https://api.adoptopenjdk.net/v3/binary/version/jdk-11.0.13%2B8_openj9-0.29.0/linux/s390x/jdk/openj9/normal/adoptopenjdk

Note that since July 2021, the OpenJDK+OpenJ9 builds at AdoptOpenJDK .net have 
been built by IBM using the same components and re-branded under the IBM Semeru 
Runtimes name.

For the Eclipse Adoptium API going forward, they will only "promote" certified 
builds, ie. IBM Semeru Runtimes Certified Edition. The Eclipse Adoptium Marketplace is 
still being worked on.

IBM has also done a "soft launch" on our own fork of their API which serves IBM 
Semeru Runtimes, both Certified Edition and Open Edition, which we host. We hope to have 
an announcement on that shortly. The code is the same so you can use ALMOST the same 
query and just swap out the base of the URL and the Vendor.
Instead of vendor adoptopenjdk use ibm for Open Edition and ibm_ce for 
Certified Edition.

Eg.
OE
https://ibm.com/semeru-runtimes/api/v3/binary/version/jdk-11.0.13%2B8_openj9-0.29.0/linux/s390x/jdk/openj9/normal/ibm
CE
https://ibm.com/semeru-runtimes/api/v3/binary/version/jdk-11.0.13%2B8_openj9-0.29.0/linux/s390x/jdk/openj9/normal/ibm_ce

Let me know if you have any questions.

Am 22.03.22 um 12:13 schrieb Neale Ferguson:
The adoptopenjdk.net site has been used to host builds of the JDK for both 
hotspot and openj9 builds (the latter being the IBM JVM which has many many 
optimizations for the Z environment). However, adoptopenjdk is moving to 
Eclipse’s adoptium site. However, according to the Eclipse site: “Eclipse 
Foundation projects are not permitted to distribute, market or promote JDK 
binaries unless they have passed a Java SE Technology Compatibility Kit 
licensed from Oracle, to which the OpenJ9 project does not currently have 
access.” I can’t pull the OpenJ9 JDK from that site. This is a PITA as there 
are multiple packages that pull JDKs as part of their build process. It means 
they can’t access the highly-optimized-for-z openJ9 JDK in this way (e.g. 
https://api.adoptium.net/v3/binary/version/....).

It also seems that, even though the adoptopenjdk site still exists and I can 
download JDKs from there I cannot use the API to do things like: wget 
https://api.adoptopenjdk.net/v3/binary/version/jdk-11.0.13+8/linux/s390x/jdk/openj9/normal/adoptopenjdk
 whereas 
https://api.adoptopenjdk.net/v3/binary/version/jdk-11.0.13+8/linux/s390x/jdk/hotspot/normal/adoptopenjdk
 works fine. The “normal” appears to no longer be supported with s390x so 
“large” or similar should be used but substituting it in the former URL doesn’t 
work either.

Is there any expectation that openJ9 will be supported by Eclipse’s adoptium 
any time soon (i.e. before adoptopenjdk disappears)?

Neale


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to