I have installed jdk1.7.0_15
.
JavaFX's download page says the following:
JavaFX 2.2.7 contains the latest security fixes and is co-bundled with the latest JDK 7 for Windows, Mac and Linux.
Download Java SE 7 with JavaFX 2.2.7
Like a good noob, I followed the instructions and installed the JDK. Now when I look for jfxrt.jar
file that I can import to Eclipse as a user library, I can not find it. There are a few other JavaFX
related libraries in JDK's lib
folder but I do not understand what to import next.
Most of the tutorials on Google, including the one by Java, are very old.
Please help me get started with JavaFX
I recommend using e(fx)clipse.
e(fx)clipse is a plugin to assist JavaFX development in Eclipse which will fix your classpath issue and provide you with many other useful features as well as step by step documentation and code completion assistance.