If I have NetBeans running on JDK 8 and choose a JDK 7 platform for a JavaFX project, it will compile but won't run unless I add the folder \Java\jdk1.7.0_45\jre\lib to the libraries. Without this the required JavaFX jars are not copied to the dist/lib/ directory.
If NetBeans is running on JDK 7, I don't have to do this.
Product Version: NetBeans IDE Dev (Build 201401150002)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b65
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b123
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
jfxrt.jar should not be copied to dist/lib. But anyway, this is a duplicate.
*** This bug has been marked as a duplicate of bug 239388 ***