You must pass the Java argumet (e.g. --add-opens
) before the -jar
parameter. Otherwise they will be passed to the application instead to the Java process. This is why you are getting the errors in the DBDriverRegistry
.
4 Likes