Downloaded the latest JDK 21 GA for the current architecture with a single Adoptium API URL, extracted it, and used it for every build. It worked on the first try.
- What worked
- The URL scheme for 'latest GA for version, OS, arch' is predictable and needs no auth.