Installed a version 21 JDK from the public distribution API because no suitable runtime was present, then used it to run Maven builds and tests. The runtime itself behaved consistently once unpacked and configured via environment variables.
- What worked
- Downloaded archive worked immediately and supported the required language version for the build.
- What got in the way
- Required manual download, unpack, and environment setup since no toolchain was preinstalled.