Skip to main content

FX.js on JDK 7 Update 6

Posted by sanjay_dasgupta on August 16, 2012 at 8:47 PM PDT

I've been testing FX.js logo (A Smarter FXML Alternative, 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. FX.js logo 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 FX.js logo 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 FX.js logo find it here: FX.js - A Smarter FXML Alternative.

Related Topics >>