At Adoptium we were as excited as everyone else to welcome the release of Java 21 last week. We have been testing OpenJDK 21 extensively, and have successfully built and AQAvit verified the OpenJDK 21 GA source code release (based on the jdk-21+35 tag).
Our community is committed to ensuring that all our builds are compliant to the Java specification before declaring them an official Eclipse Temurin release. We believe it is important to ensure that every official release is secure and high-quality as determined by AQAvit, and is Java compliant as determined by Oracle’s Technology Compatibility Kit (TCK). We learned only a few days before OpenJDK 21’s GA that the Java 21 TCK tests are subject to a new license agreement.
Naturally the Eclipse Foundation, like other Java publishers, must undergo due diligence in assessing and agreeing to the updated license agreement, which means that a formal release of Temurin 21 will be subject to delays while the legal agreements are processed. We do not currently have a date of when this agreement will be completed, but when it is we hope to get the primary platforms released within a day or two thereafter.
In the meantime, if you need to perform testing on the new Eclipse Temurin 21 candidate, our blog on early access builds will show you how to access builds based on the jdk-21+35 tag. These can be downloaded from adoptium.net or via the Adoptium API. These should be considered “not for production use” at present.
Early access builds do not have Linux installers available, however the tar files are easy to extract to wherever on the system you wish where you can then add the bin directory of the extracted tar file into your PATH. If you want to make that version the default on your system (not generally recommended for an early access build) you can do so with the
update-alternatives command. Samples of those can be seen in our spec files.
Similarly, we do not provide container images for early access builds, but if you wish to use those builds in containers you can download the tar files within your Dockerfiles. For a reference guide to how we create ours, the Dockerfiles used for JDK20 are in the adoptium/containers repository and can be adapted as required to pull the artefacts from the jdk-21+35-ea release. Alternatively, pull the tar file using the Adoptium API and extract them into your container image in the Dockerfile. Sample commands for pulling from the API are in the early access blog linked above.
UPDATE Oct 9, 2023
We are pleased to report that we have now received the applicable Java Technology Compatibility Kit (TCK) that will ensure our Eclipse Temurin 21 releases are compliant with the relevant Java specifications. The delay in receiving the Java 21 TCK was unexpected, and we don’t expect it to recur.
Running all the TCK tests takes some time, and as usual we will prioritise those platforms that are most in demand as listed in the project plan. Subject to successful completion of the TCK runs we expect to see the initial set of Temurin 21 GA platforms appear for download within a day or two.
In the meantime there have been a number of fixes made to the OpenJDK 21 codebase as part of the regular update release train. We expect sources for the next update of OpenJDK versions 8, 11, 17, and 21 to be available on or around October 17, 2023. As such, the project will prioritise picking up and publishing these new updated fixes, including 21.0.1, ahead of completing the full set of platforms on the original OpenJDK 21 GA code, which will then become obsolete.
Everyone at Adoptium works hard to bring you the best, high quality, compliant Java binaries at all times. We recognise the disappointment shared in the unexpected delay to bringing you the latest Java version binaries as soon as possible, and appreciate the support and understanding we have been shown while ensuring that promise of quality is maintained.adoptiumtemurin