The user wants to start the Java GUI application from Windows, with some amount of additional JVM parameters.
For instance:
javaw -Djava.util.logging.config.file=logging.properties -jar MyGUI.jar
If I add the above line to the batch file, the user can double-click the batch-file name.
And it’s cool. But there is one annoying side effect: the batch file opens the cmd window before starting the GUI.
Is there a simple way to start the java GUI application by double-clicking the batch-file (or some other file which suits the above needs) without opening the cmd window?
I see a number of ways:
.l4j.inifile with the same name as the exe. In case of Exe4J, extra parameters can be specified in a.vmoptionsfile which you drop next to the generated exe.