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 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)
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)