Support Temurin JMOD distribution
Description:
From JDK24 onwards, Temurin's default distribution does not ship JMODs any more: https://github.com/adoptium/adoptium-support/issues/1271
They are going to provide another download for it: https://github.com/adoptium/adoptium-support/issues/1271#issuecomment-2809696132
There should be an additional option jmod: true/false in the configuration at https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Eclipse-Temurin
Justification:
Some users want to have JMODs and use Temurin.
Are you willing to submit a PR?
Unfortunately, I have no resources for this.
Hi @koppor, Thank you for creating this feature request. We will investigate it and provide feedback as soon as we have some updates.
This is a problem now for normal builds. At least for 25-ea the jmod package is download by default instead of the JDK.
See this build log where it cannot find a java command anymore because it downloads:
https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25%2B21-ea-beta/OpenJDK-jmods_x64_linux_hotspot_25_21-ea.tar.gz
instead of
https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25%2B21-ea-beta/OpenJDK-jdk_x64_linux_hotspot_25_21-ea.tar.gz
The previous build with jdk-25+20 worked fine and we didn't change anything on our side.
Update 12th August 2025: seems to work fine again and uses currently 25.0.0-ea.35.0.ea
@karussell I am experiencing the same issue in the last ~24 hours