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.
Create and build JavaFX project with JavaFX 2.1 SDK. Look into its dist/*.jnlp and *.html files. Both state the app requires JavaFX version 2.0+. This is not correct as application was developed with JavaFX 2.1 and may not work with older runtime versions. Product Version: NetBeans IDE 7.1 (Build 201112071828) Java: 1.7.0_02; Java HotSpot(TM) 64-Bit Server VM 22.0-b10 System: Windows 7 version 6.1 running on amd64; Cp1251; en_US (nb) User directory: C:\Users\akouznet\.netbeans\7.1 Cache directory: C:\Users\akouznet\.netbeans\7.1\var\cache
Created attachment 119362 [details] Generated jnlp file
Created attachment 119363 [details] Generated html file
In JavaFX Application project type the jnlp and html artifacts are generated using an Ant task from FX SDK. Thus NetBeans does not control the contents of these files. I confirm the same problem persists in JavaFX 2.2 b08. I have filed an issue on this in JavaFX Jira server: http://javafx-jira.kenai.com/browse/RT-21587 As nothing more can be done about that in NetBeans I am closing as Wontfix. Please follow the above link regarding this issue's further processing.
Igor of FX team has discovered that the problem actually has been in the NB side - it was in the jfx-impl.xml buildfile, a leftover platform version setter from the times of FX 2.0.x. fixed in jetmain: http://hg.netbeans.org/jet-main/rev/457980fd5ab9
Integrated into 'main-golden', will be available in build *201205180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/457980fd5ab9 User: Petr Somol <psomol@netbeans.org> Log: #212399 - Incorrect JavaFX version is set in html and jnlp files for JavaFX project