To configure a jlink artifact

The IDEA offers a "Run-time image (JLink)" artifact type, and it does invoke the jlink tool when used. But it gives no direct control over the tool parameters, and I cannot locate any explanation of how it supposed to be set up. Is there documentation? Is there a statement on the status of the jlink artifacts in IDEA?

I was able to make some progress by matching the jar requirements from the error messages, but I am so far unable to add a jmod module from the JDK. It appears in the Output Layout as "File of an unknown type" with a question mark icon, and is not included in the jlink command. Does not IDEA recognize jmods?

0

Okay it seems IDEA as a whole does not treat jmod files as proper modules by design, and the jlink artifact is affected too though probably unintentionally. youtrack.jetbrains.com/issue/IDEA-282885

0

请先登录再写评论。