According to Troubleshooting section of the Proguard manual, the recommendations for VerifyError
are:
- Check the Proguard bug database and if this is a new bug, submit a bug report.
- Try using the Proguard option
-dontoptimize
Running a Java application with -noverify
is an insecure hack ... but if you really need to resort to that you should be able to get Install4j to set JVM options in the generated launcher.
A common requirement is the capability to adjust the VM parameters of launchers after the installation has been completed or to determine the VM parameters at installation time depending on the environment like the target platform or some user selection in the installer.
For this purpose, a parameter file in the same directory as the executable is read and its contents are added to the list of fixed VM parameters. The name of this parameter file is the same as the executable file with the extension .vmoptions
.
For more details; see The definitive guide to install4j.