I'm using Advanced Installer 19.4.
I hava a java app which uses JDK17 and JavaFX. For this reason i need to supply some special parameters to the java command:
Code: Select all
-p path/to/modules --add-modules ... --add-exports ... --add-opens ...
If I supply those parameters as "Virtual Machine parameters" and try to start the app I get an error dialog which says:
"JNI Exception: failed to create the Java VM, Unknown reason"
Of course I can start my app happily from the command line (which contains my custom VM parameters).
what can I do?