I am trying to use
jlink as part of the
javafx-maven-plugin plugin to create a runtime image with AdoptOpenJDK 15. For some reason I end up getting the following error during the
Error: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: ...argetimageinjavaw.exe
javafx:run, however, works fine.
Note: The path to the project has been omitted from the error message.