OS: Ubuntu 14.04.
IDE: (Eclipse Mars.1 Release (4.5.1)) and Scene builder 2.
How to solving this problem?
I did everything according to instructions.
I solved this problem by referencing the JavaFX library to the project. One way to do that is to right-click the project folder in Eclipse, then select Build Path -> Add External Archive.
The JavaFX archive, named jfxrt.jar
is located in the directory jre\lib\ext
of your JDK directory.
Surprisingly, the JavaFX libraries are not automatically linked in a JavaFX project... This operation also allows to build JavaFX sample projects, which otherwise don't compile.
The problem is solved for me by installing the latest jdk 8u73 and by adding the new build path in eclipse
Ps : sorry for my english
Mounir (France)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With