Relative Content

Tag Archive for javaintellij-ideajavafxexecutable-jar

Create a executable jar file with Preloader in Javafx using intellij IDEA

I have a JavaFX desktop application using JDK 20. When I create an executable JAR file, that JAR file is not working. After looking for a solution,I got a solution from here and I created a Launcher class and selected that class as the main class to create the JAR file. After doing this, the JAR file is working, but the preloader is not showing even though the preloading time is running. How can I solve this issue? I have tried many different codes, but the JAR file is still not working correctly. Below are my App.java (the main class) and Launcher.java. Please look into it and help me solve this issue.