Settings for JavaFx to create a EXE-File
First you have to open the .xml file in Launch4J then do the following:
- Replace "YourExe.exe" with the name you want the EXE to have (Select the path).
- Replace "YourJar.jar" with the Jar, you want to make the EXE out (Select the path).
- If you want an icon, you can choose one, if not, just delete "YourIcon.ico".
- In the "Command line args" you have to replace "YourJar" with the name of your jar.
- In the Tab "jre" you have to enter the name of your jre folder, you want (Basic Launch4J stuff, doesn't have to do with JavaFX).
- You have to name the folder, where the JFX library is in, "JFX".
- You're done! :)
The JFX-library and the JRE have to be in the same folder as the executable!
Click here to download the ZIP-Folder!