JavaFX - IDE vs jar
In Intellij 12.1 I generate a new JavaFX project using Java 7_21 and it goes ahead and generates a very simple sample project. It runs succesfully and almost instantly in the IDE. I then go into "Project Structure" and under "Artifacts" and create an executable jar from the project. It succesfully creates the jar in the "out" directory and when I run it (either by double clicking on it or from the command line) it runs but takes about 10 secounds to execute. At the command prompt I enter "java -version" and it confirms I am running Java 7_21 64bit. Does anyone happen to know why the executable jar runs so slowly while in the IDE it runs incredibly fast? Thanks
Please sign in to leave a comment.