How To Deploy an Executable JavaFX 19 JAR, exe, msi Using IntelliJ 2022.3.1 on Windows 11 x64 (2-3)
Вставка
- Опубліковано 11 вер 2024
- This tutorial will show you how to package a JavaFX 19 application as an executable Jar file using IntelliJ 2022.3.1 on Windows 11 x64. This Jar will contain both your JavaFX application and the required JavaFX library and DLL (.dll) files for Windows, enabling you to run your JavaFX application by double-clicking the Jar file.
The .jar file can be found in the "out/artifacts" folder. The Java installation directory is located at "C:\Program Files\Java\jdk-19," while the JavaFX installation directory is "C:\Program Files\Java\javafx-sdk-19.0.2.1."
JDK 19.0.2
JavaFX SceneBuilder 19.0.0
IntelliJ IDEA 2022.3.2
Windows 11 Pro x64
#JavaFX19 #ExecutableJar #DeployJar #CreateJar
I did the same as your video but when I open and run the jar file, I get a runtime error
Hello my friend i try your solution but when i click it it’s not open the jar file
Hello sir!
Nice tutorial, but maybe, can you make the tutorial to do it in gradle? Thank you