
I've been testing (A Smarter FXML Alternative, http://fxjs.java.net/) with the latest JDK (SE 7 Update 6), and have updated the Quick-Start Guide. A summary of my findings is given below.
-
On Windows XP, everything works as it should.
launches correctly without jfxrt.jar specified explicitly in the classpath as expected (becase JavaFX is included in this JDK).
-
But on Lunux (Ubuntu-12.04) the
launcher bails out with a
java.lang.ClassNotFoundException: javafx.application.Application
. Adding jfxrt.jar to the classpath (it is now inside the lib directory of the JDK) resolves the problem as expected.
The problem on Linux could be because of my settings (I used this process, with updated version info, to install the JDK). So, if anyone has been able to get this to work (with JDK 7 Update 6 on Linux), I'd love to know how.
If you missed my earlier post about find it here: FX.js - A Smarter FXML Alternative.