1

I read that to add .jar libraries as dependency in java9 modules, we just need to include them in --module-path and they will be converted to 'Atomatic Modules'

However when I try to use jLink, I still got the error: Error: module-info.class not found for dd.plist module

I realized that we can generate module-info.java with jdeps, my question is how I can recompile the .jar library with this module-info.java?

Naman
  • 27,789
  • 26
  • 218
  • 353
Tiago Santos
  • 489
  • 5
  • 16
  • Also, would be good to know if the question might be solved in another way. What command from `jlink` are you using? – Naman Nov 22 '17 at 01:29
  • the command im Using is -> jlink --module-path 'path to modules with separators' --add-modules larrybot --launcher laucnherClass --output dist --strip-debug --compress 2 --no-header-files --no-man-pages – Tiago Santos Nov 22 '17 at 08:51

0 Answers0