When using jlink, we can't use --add-modules ALL-MODULE-PATH #350
Labels
hacktoberfest
Hacktoberfest eligible
note:good-first-issue
A good first issue to get started with
note:ideal-for-contribution
An issue that a contributor can help us with
type:bug
A general bug
When using
--add-modules ALL-MODULE-PATH
as jlink arg to add all modules to the jre, the build fails with:Error: Module all-module-path not found
. Note the lowercase hereExpected Behavior
Build should work
Possible Solution
Maybe there is some
toLowerCase()
call?Steps to Reproduce
true
--add-modules ALL-MODULE-PATH --compress=2 --no-header-files --no-man-pages --strip-debug
Motivations
We wanna test and get a feeling for jlink. Currently our application is not modulrized, so we wanna start by trimming the modules from all modules. It also is mentioned in jlink help section to use that shortcut:
The text was updated successfully, but these errors were encountered: