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 151246 [details] Java Platform Selected To 1.6 Overview: The project that I am working on, is a java free form project and Ant is used to build the src. I set the Java Sources classpath java platform to 1.6 and build the src using Ant. Build fails as the java platform is pointing to default 1.8 Actual Results: I get below warnings while trying to build the src with Ant and build fails due to 1.8 java platform instead of 1.6. warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds java version: 1.8 warning: [options] bootstrap class path not set in conjunction with -source 1.6 Expected Results: Should have respected the java platform setting of 1.6 and build the src without errors. Build Date & Hardware: Issue observed on 8.0, 8.0.1 and 8.0.2 versions. Additional Builds and Platforms: Issue was not observed on 7.3 and earlier versions.