This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 134658 [details] Error while setting JavaFx 8 runtime I am using JDK 8 Early access (Build 90) with Netbeans 7.3 in windows but while enabling JavaFx in Java platform it says JavaFx platform is not correctly defined. I tried to give the jre8 path but still the error continues. The error is not shown when I set the JavaFx runtime to JRE 1.7 but in that case my JavaFx code is compiled by JDK8 but it tried to run using JRE7 ending up with incomparable class version error . Note that I need to use JDK 8 for my experimental project which needs some latest features , so moving back to JDK 7 is not an option. Also Running the jar separately in command line every time I compile using netbeans will take a lot of time reducing productivity.
This is not a bug but missing support, in line with NetBeans versioning plans. To summarize, the official support of JDK8 (and thus of JavaFX8) is as follows: NetBeans 7.3 - no official JDK8 support NetBeans 7.4 - preview JDK8 support (because JDK8 will not be out yet when 7.4 comes out, but generally things should work already) NetBeans post-7.4 - full JDK8 support The technical reason for the JavaFX8 problem in 7.3 is the change in sub-directory structure in JDK8. To accomodate this change in NetBeans we had to change platform detection routines as well as FX project build scripts. This is done in NetBeans 7.4, so the recommendation for you is to use the NetBeans 7.4 daily builds with JDK8. Note however that in NetBeans 7.4 a more substantial change is made - there is no explicit UI for JavaFX support in Java Platforms (in fact not even the Default JavaFX Platform is maintained any more). In 7.4 the FX support is by default available in any JDK that includes JavaFX runtime. See Issue #229678 for more info.