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

Summary: [81cat] Cannot build JavaFX 8 Project when IDE runs on JDK 7
Product: javafx Reporter: Lou Dasaro <mr_lou_d>
Component: ProjectAssignee: Roman Svitanic <rsvitanic>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 8.1   
See Also: https://netbeans.org/bugzilla/show_bug.cgi?id=239388
https://netbeans.org/bugzilla/show_bug.cgi?id=240105
Issue Type: DEFECT Exception Reporter:
Attachments: Output from build

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.
Environment:
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 https://netbeans.org/community/releases/81/relnotes.html#known_issues

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)