Skip to content

JEP 493 / Temurin JDK 24 breaks plugin #299

Open
@CodeDead

Description

@CodeDead

Due to JEP 493, and Temurin implementing this, the jmods folder has been removed from the Temurin / Adopium JDK 24.
This causes some issues with this plugin being unable to find modules like 'java.base' when trying to execute the jlink task.

For more info:
https://adoptium.net/blog/2025/03/eclipse-temurin-jdk24-JEP493-enabled/

Some of the lines that need changes:

if(!new File("$jdkHome/jmods/java.base.jmod").file) {

Quick search:
https://github.com/search?q=repo%3Aberyx%2Fbadass-jlink-plugin%20jmods&type=code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions