You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my JavaFX app I do some ZIP processing, but hit java.nio.file.ProviderNotFoundException with jlink created runtime because jdk.zipfs dependency was not properly auto-detected. https://stackoverflow.com/questions/57846630/java-nio-file-providernotfoundexception-with-jlink-created-runtime
While the solution is clear, I have no idea if --add-modules jdk.zipfs can be accomplished by the plugin.
I'd be grateful to add an example for this into README.md or clearly state this is not possible. It would help others in the future.
The text was updated successfully, but these errors were encountered:
Not sure if this is best solution, but I simply added jdk.zipfs to my module-info.java as required module:
requires javafx.controls;
requires javafx.fxml;
requires java.xml;
// jdk.zipfs module is not auto-detected by default so adding explicitly here
requires jdk.zipfs;
It is then detected by jlink and properly included in the final runtime image.
In my JavaFX app I do some ZIP processing, but hit
java.nio.file.ProviderNotFoundException
withjlink
created runtime becausejdk.zipfs
dependency was not properly auto-detected.https://stackoverflow.com/questions/57846630/java-nio-file-providernotfoundexception-with-jlink-created-runtime
While the solution is clear, I have no idea if
--add-modules jdk.zipfs
can be accomplished by the plugin.I'd be grateful to add an example for this into README.md or clearly state this is not possible. It would help others in the future.
The text was updated successfully, but these errors were encountered: