I've seen people on the mailing list succeed with JDK 8, using Apache Ant version 1.10.1
-- Johnny Muczynski 734-262-2045 On Sat, Mar 10, 2018 at 3:34 AM Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > PS: I’d also experiment with a slightly earlier version of Ant to see if > that makes a difference. > > On Saturday, March 10, 2018, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> I really recommend you move this discussion to the dev@ mailing list, >> since that is the list applicable to working with the NetBeans sources — >> ask for someone who has built Apache NetBeans on Windows 10 to help >> >> Gj >> >> On Saturday, March 10, 2018, Shaun Flynn <scf...@googlemail.com> wrote: >> >>> Windows 10 and Ant 1.10.2 >>> >>> On Sat, 10 Mar 2018 08:23 Geertjan Wielenga, < >>> geertjan.wiele...@googlemail.com> wrote: >>> >>>> Which operating system are you building on and where does your Ant >>>> installation come from? >>>> >>>> Gj >>>> >>>> On Saturday, March 10, 2018, Shaun Flynn <scf...@googlemail.com> wrote: >>>> >>>>> Using JDK8 update 162 yields the same issue. >>>>> >>>>> On Fri, 9 Mar 2018 19:48 Geertjan Wielenga, < >>>>> geertjan.wiele...@googlemail.com> wrote: >>>>> >>>>>> Definitely and explicitly JDK 9 is not supported for building Apache >>>>>> NetBeans. >>>>>> >>>>>> All the instructions are here: >>>>>> https://github.com/apache/incubator-netbeans/blob/master/README.md >>>>>> >>>>>> You're recommended to join the dev@ mailing list, for the kinds of >>>>>> things you're doing, i.e., working with the NetBeans sources, since >>>>>> that's >>>>>> where you'll find most people having done the same kinds of things >>>>>> relating >>>>>> to working with the NetBeans sources. >>>>>> >>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Gj >>>>>> >>>>>> >>>>>> On Fri, Mar 9, 2018 at 5:44 PM, Shaun Flynn <scf...@googlemail.com> >>>>>> wrote: >>>>>> >>>>>>> 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 >>>>>>> >>>>>> >>>>>>