eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

[Feature Request] Option to export a modular jar

Open
#2,263 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Java
Stars
59
Forks
127
Avg merge
22h 47m
Merged PRs (30d)
28

Description

Currently when exporting a jar the `ModuleMainClass` attribute is not set in `module-info.class` so running a modular jar without manually specifying the main class is not possible. Additionally, there is no way to avoid generating a manifest when exporting a jar. This would be desirable so that a program which expects to be run as a module and depends on its module name not being null cannot be accidentally run with `java -jar`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.