I used both NetBeans and Intellij to create new JavaFX HelloWorld projects using Java 7_21. It works successfully both in the IDE and, most importantly, in both cases, the application runs almost instantly inside the IDE. Then I create an executable jar from each project. He successfully creates a jar, and when I start it (either by double-clicking on it, or from the command line), it works correctly, but it takes about 10 seconds to complete both tasks. At the command line, I enter "java -version" and this confirms that I am running Java 7_21 64bit. Does anyone know why an executable banner runs so slow while HelloWorld applications run so fast in an IDE? Thanks
source share