I am looking for a replacement for InstallAnywhere executable for our application. Launch4j is close to being perfect but misses a feature. The InstallAnywhere executable loads a .lax file which has some properties. There is a separate property for JVM command line arguments and another property for application command line arguments which are added after -jar foo.jar
. This second part is what is missing in Launch4j.
It would be nice if either the existing .l4j.ini
file could be enhanced to pass these two separate sets of arguments (JVM args and separate application args). Or alternatively, if I could, e.g., say -Dlaunch4j.appargsfile=appargs.ini
in .l4j.ini
and have Launch4j parse this appargs.ini
file and add those arguments after the -jar foo.jar
.
Basically, anything that does not require me to write a separate batch file would be great.
This is the same as #122.