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.

Bug 255710 - [81cat] Cannot build JavaFX 8 Project when IDE runs on JDK 7
Summary: [81cat] Cannot build JavaFX 8 Project when IDE runs on JDK 7
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 8.1
: P3 normal (vote)
Assignee: Roman Svitanic
Depends on:
Reported: 2015-10-06 05:34 UTC by Lou Dasaro
Modified: 2015-10-09 19:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Output from build (4.29 KB, text/plain)
2015-10-06 05:34 UTC, Lou Dasaro

Note You need to log in before you can comment on or make changes to this bug.
Description Lou Dasaro 2015-10-06 05:34:41 UTC
Created attachment 156535 [details]
Output from build

When NB 8.1 is running on JDK 7 by using:
netbeans.exe --jdkhome "C:\Program Files\Java\jdk1.7.0_79"
JDK 8 projects will not build.
Product Version: NetBeans IDE 8.1 RC (Build 201510012201)
Java: 1.7.0_79; Java HotSpot(TM) Client VM 24.79-b02
Runtime: Java(TM) SE Runtime Environment 1.7.0_79-b15
System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)
Comment 1 Lou Dasaro 2015-10-09 19:01:49 UTC
Remains an issue for NetBeans 8.1. See

However, this scenario/workaround becomes unnecessary in JDK 9 branch builds, where one can build for JDK 7, 8 or 9 targets without changing the JDK used to start the IDE.

Therefore, I am marking this Fixed and Verified using JDK 9 branch ONLY.
Product Version: NetBeans Dev JDK9 branch (Build 201506180405)
Java: 1.9.0-ea; Java HotSpot(TM) Client VM 1.9.0-ea-b82
Runtime: Java(TM) SE Runtime Environment 1.9.0-ea-b82
System: Windows 8.1 version 6.3 running on x86; Cp1252; en_US (nb)