What to do if the installer is created with install4j but the installer cannot be started successfully. If you just execute it, it will drop without any error, so you do not know the cause.
macOS 10.13
Start the install4j launcher with the environment variable ʻINSTALL4J_LOG = yes`.
Example:
INSTALL4J_LOG=yes myLauncher.app/Contents/MacOS/JavaApplicationStub
(abridgement)
<JAVA_HOME>/lib/ext exists, extensions mechanism no longer supported; Use -classpath instead.
.Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I was able to get the error message. This is where the long debugging journey begins.
The executable generated by install4j doesnt start
Recommended Posts