This content has been marked as final. Show 4 replies
In addition to . also put jfxrt.jar on your classpath.
For example, on my windows box, I can run a compiled javafx app from the command line without packinging it in a jar using the following command:
In a future release of the jdk, it won't be necessary to add jfxrt.jar to the classpath, but for now (jdk7u6) it is.
java -cp .;"C:\Program Files\Java\jdk1.7.0_06\jre\lib\jfxrt.jar" app.my.Main
Note, that the above usage is probably only useful during development, for deployment of apps to users, you are better off having them appropriately packaged using the JavaFX packaging tools.
Ok, this works for launching application, but the preloader does not show up ...
My problem is testing my preloader.
In fact i have 2 issues :
- Starting the full application (application + preloader) (NetBeans 7.2 works fine, for it, but I want be able to test the program without NetBeans)
- Is there a way to manually start the Preloader (for test purpose) and send change notification (event) to the preloader.