The folder of the application, which would be copied to the output folder.
The Java runtime needs to be bundled into the application. If this field is empty, the application will use the system java runtime, but it needs to make sure that the java version selected below is the same with the java version of the system.
MainJar mode is exactly like launching the app by
java -jar xxx.jar. You can specify the main jar file in the “Main Jar” field, and the path is relative to the application folder, for example, the main jar in the application folder is swingapp.jar, just input swingapp.jar here.
MainClass mode is the way that launches the application by
java -cp classpath.jar MainClassName
In MainClass mode, you need to specify the classpath and the main class. The path of the classpath is relative to the application folder too.
You can input the JVM options here, just like the -Xms, -Xmx, and other parameters.
The Java version selected here needs to be the same with the java version of bundled JRE, or the same as the java version of the system.
The target platform of the executable wrapper
The filename of the executable wrapper
If you need to create the executable wrapper in the app folder, and not copy the app folder to the output folder, please check this value.
The output folder, the app folder, and the executable wrapper will be copied into the output folder after the executable wrapper is created.
The splash image when the app launching, only supports gif now.
Single instance feature, only supports Windows now.
Hide console window, only supports Windows now.
Some Windows executable information, just like the icon, file version, file description and others.
Start button on the toolbar to create the wrapper, you can see the result in the output folder or app folder after task done.
First, we need a configuration file to pass the information to create the wrapper, there is a
config-template.yml in the wrapper4j’s folder, the contents are below:
You can find explanations of these items here
Go to the folder of wrapper4j, then execute the command below: