How To Deploy an Executable JavaFX 19 JAR, exe, msi Using IntelliJ 2022.3.1 on Windows 11 x64 (1-3)

preview_player
Показать описание
This tutorial guides you in deploying an executable JavaFX 19 application jar file using IntelliJ 2022.3.1 on Windows 11 x64. The jar file contains the JavaFX application and its associated JavaFX library and .dll files, allowing it to run on Windows just by double-clicking the jar file.

The location of the .jar file can be found in the out/artifacts folder.

Java is installed in the following directory:
C:\Program Files\Java\jdk-19

JavaFX is installed in the following directory:
C:\Program Files\Java\javafx-sdk-19.0.2.1

VM Options
--module-path "C:\Program Files\Java\javafx-sdk-19.0.2.1\lib"

JDK 19.0.2
JavaFX SceneBuilder 19.0.0
IntelliJ IDEA 2022.3.2
Windows 11 Pro x64

#JavaFX​​19 #ExecutableJar​​ #DeployJar​ #CreateJar
Рекомендации по теме
Комментарии
Автор

Thank you, you're a goat ! I have been struggling for many hours with the problem that I have an error JavaFX missing Component when I wanted to execute the file .jar after building the artefact.

victrolles
Автор

Thank you for making this video! Works 100%

mikecoppola
Автор

when i click on build, my jar is not getting built. it's not showing me any out file. what should I do now?

jvuniverse
Автор

My jar file is not doing anything! Can you help me?

henriquemoises
Автор

My project has extra icons in a separate folder outside the src folder. when i build the jar file and open it, there is no icon in the project, help me :((

pho
Автор

I need help friend, it doesn't work for me. In windows 10, after adding the options in VM, the project does not compile. Please help

victorm