I'm experimenting with an application that consists of proper modules (with module-info), where one module A requires an automatic module Lib. After creating modular jars for my application modules and running the application with both the application modules and the non-modular Lib-jar on the modulepath, everything works as expected.
Now, I try to create a runtime image for my application using jlink. I add module A using --addmods, and again put both my application modules and the Lib-jar on the --modulepath of jlink. This results in the following error: > Error: jdk.tools.jlink.plugin.PluginException: module-info.class not found > for Lib module Is this expected behavior? -- Sander