Skip to content

Support Temurin JMOD distribution #804

Description

@koppor

Description:

From JDK24 onwards, Temurin's default distribution does not ship JMODs any more: adoptium/adoptium-support#1271

They are going to provide another download for it: adoptium/adoptium-support#1271 (comment)

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.

Activity

  1. v-gowridurgad commented on Apr 28, 2025

    @v-gowridurgad
    Contributor

    Hi @koppor, Thank you for creating this feature request. We will investigate it and provide feedback as soon as we have some updates.

  2. karussell commented on May 9, 2025

    @karussell

    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

  3. ilgrosso commented on May 9, 2025

    @ilgrosso

    @karussell I am experiencing the same issue in the last ~24 hours

  4. added a commit that references this issue on May 9, 2025
    bccc596
  5. added a commit that references this issue on Mar 29, 2026
  6. brunoborges commented on Jul 14, 2026

    @brunoborges
    Contributor

    @gdams this is overly complicated. What is the current status of Temurin? Are JDKs with or without JMOD files? Shouldn't JDKs be shipped with JMODS, and if the user wants a jmod-less JDK, then they download a specific build?

  7. gdams commented on Jul 20, 2026

    @gdams
    Member

    @gdams this is overly complicated. What is the current status of Temurin? Are JDKs with or without JMOD files? Shouldn't JDKs be shipped with JMODS, and if the user wants a jmod-less JDK, then they download a specific build?

    adding @jerboaa as I know he helped role this out for Temurin. I think the key thing is that 99% of the time the JDK doesn't actually require the JMOD archives so the decision was made to strip them out and ship them as a separate artefact. There's only a small handful of reasons that a user would actually require the archives.

  8. jerboaa commented on Jul 20, 2026

    @jerboaa

    @gdams this is overly complicated. What is the current status of Temurin? Are JDKs with or without JMOD files? Shouldn't JDKs be shipped with JMODS, and if the user wants a jmod-less JDK, then they download a specific build?

    adding @jerboaa as I know he helped role this out for Temurin. I think the key thing is that 99% of the time the JDK doesn't actually require the JMOD archives so the decision was made to strip them out and ship them as a separate artefact. There's only a small handful of reasons that a user would actually require the archives.

    Yes, exactly. The default should be the default, build. For Temurin 24+ that is a build without JMODs and JEP 493 enabled. For users who need it, they could request JMODs explicitly.

  9. linked a pull request that will close this issueSupport Temurin JDKs with JMOD files #1149on Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

distributionJDK distribution/version/source supportfeature requestNew feature or request to improve the current logic

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions