Hello there folks, I am trying to bulid Netbeans 9.0 from "https://github.com/apache/ incubator-netbeans" using Git and Ant.
I have tried using Java 8 and Java 9 but it does not build. When I get to the Ant stage, javac complains of the following. Can anyone help? C:\Users\user>CD incubator-netbeans C:\Users\user\incubator-netbeans>ant -version Apache Ant(TM) version 1.10.2 compiled on February 3 2018 C:\Users\user\incubator-netbeans>ant Buildfile: C:\Users\user\incubator-netbeans\build.xml -jdk-pre-preinit: -jdk-preinit: -jdk-warn: -jdk-presetdef-basic: -jdk-default: -jdk-init: -load-build-properties: bootstrap: [echo] Bootstrapping NetBeans-specific Ant extensions... [javac] Compiling 53 source files to C:\Users\user\incubator- netbeans\nbbuild\build\antclasses [javac] C:\Users\user\incubator-netbeans\nbbuild\antsrc\org\ netbeans\nbbuild\LayerIndex.java:344: error: class ZipArray inherits unrelated defaults for stream() from types ResourceCollection and Collection [javac] private static final class ZipArray extends ArrayList<Resource> [javac] ^ [javac] 1 error BUILD FAILED C:\Users\user\incubator-netbeans\nbbuild\build.xml:88: Compile failed; see the compiler error output for details. Total time: 11 seconds