Yes, at some point -- that point would be when changes such as these are done to all the clusters in the code base:
https://github.com/apache/incubator-netbeans/pull/1068 Right now, as seen above, only the platform cluster builds with JDK 11. Gj On Sun, Jan 6, 2019 at 8:36 PM Eric Bresie <[email protected]> wrote: > Thanks for getting back to me on this...Still new so I welcome input to > better understand things here. I will look into that... > > But still at some point wouldn't using newer jdk version (i.e. 10, 11, > 12) for compilation be preferred? > > I assume some part of that is addressing the changes in modules and related > dependencies. Is that something involving changes in the build files, have > some jdk dependency versions identified, adding some modules imports of > some type maybe? > > Eric Bresie > [email protected] > > > On Sun, Jan 6, 2019 at 1:19 PM Geertjan Wielenga > <[email protected]> wrote: > > > You need to use JDK 8 to build Apache NetBeans as explained in the > README. > > > > Gj > > > > On Sunday, January 6, 2019, Eric Bresie <[email protected]> wrote: > > > > > OS: Windows 10, java 11.0.1 2018 > > > > > > Java: java --version > > > > > > > > > java 11.0.1 2018-10-16 LTS > > > > > > Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS) > > > > > > Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed > mode) > > > > > > > > > Ant: > > > > > > C:\Windows\SysWOW64>ant -v > > > > > > Apache Ant(TM) version 1.10.5 compiled on July 10 2018 > > > > > > > > > Git: > > > > > > C:\Windows\SysWOW64>git --version > > > > > > git version 2.18.0.windows.1 > > > > > > > > > > > > cloned from github as of 1/6/2019 11:20 CST > > > > > > Running build with: > > > > > > ant -Dcluster.config=full > > > > > > Received the following error: > > > > > > [pcompile] Generating 10 resource files to > > > C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\build\gensrc\jdk.jdeps > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > [pathconvert] Warning: Nashorn engine is planned to be removed from a > > > future JDK release > > > > > > generate-sources-internal: > > > [pcompile] Generating 6 resource files to > > > C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\build\gensrc\jdk.jshell > > > [mkdir] Created dir: > > > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\build\nb > > > [javac] Compiling 1031 source files to > > > C:\git\netbeans\incubator-netbeans\nbbuild\build\langtools\build\nb > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\java.compiler\share\classes\javax\annotation\processing\ > > > Messager.java:28: > > > error: package javax.annotation does not exist > > > [javac] import javax.annotation.*; > > > [javac] ^ > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.compiler\share\classes\com\sun\tools\ > > > javac\model\.java:35: > > > error: package sun.reflect.annotation is not visible > > > [javac] import sun.reflect.annotation.*; > > > [javac] ^ > > > [javac] (package sun.reflect.annotation is declared in module > java.base, > > > which does not export it to module java.compiler) > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\com\sun\tools\ > > > doclets\internal\toolkit\builders\LayoutParser.java:31: > > > error: package javax.xml.parsers is not visible > > > [javac] import javax.xml.parsers.*; > > > [javac] ^ > > > [javac] (package javax.xml.parsers is declared in module java.xml, but > > > module java.compiler does not read it) > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\com\sun\tools\ > > > doclets\internal\toolkit\builders\LayoutParser.java:33: > > > error: package org.xml.sax is not visible > > > [javac] import org.xml.sax.*; > > > [javac] ^ > > > [javac] (package org.xml.sax is declared in module java.xml, but module > > > java.compiler does not read it) > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\com\sun\tools\ > > > doclets\internal\toolkit\builders\LayoutParser.java:34: > > > error: package org.xml.sax.helpers is not visible > > > [javac] import org.xml.sax.helpers.DefaultHandler; > > > [javac] ^ > > > [javac] (package org.xml.sax.helpers is declared in module java.xml, > but > > > module java.compiler does not read it) > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\jdk\javadoc\ > > > internal\doclets\toolkit\builders\LayoutParser.java:31: > > > error: package javax.xml.parsers is not visible > > > [javac] import javax.xml.parsers.*; > > > [javac] ^ > > > [javac] (package javax.xml.parsers is declared in module java.xml, but > > > module java.compiler does not read it) > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\jdk\javadoc\ > > > internal\doclets\toolkit\builders\LayoutParser.java:36: > > > error: package org.xml.sax is not visible > > > [javac] import org.xml.sax.*; > > > [javac] ^ > > > [javac] (package org.xml.sax is declared in module java.xml, but module > > > java.compiler does not read it) > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\jdk\javadoc\ > > > internal\doclets\toolkit\builders\LayoutParser.java:37: > > > error: package org.xml.sax.helpers is not visible > > > [javac] import org.xml.sax.helpers.DefaultHandler; > > > [javac] ^ > > > [javac] (package org.xml.sax.helpers is declared in module java.xml, > but > > > module java.compiler does not read it) > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\com\sun\tools\ > > > doclets\internal\toolkit\builders\LayoutParser.java:105: > > > error: method does not override or implement a method from a supertype > > > [javac] @Override > > > [javac] ^ > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\com\sun\tools\ > > > doclets\internal\toolkit\builders\LayoutParser.java:122: > > > error: method does not override or implement a method from a supertype > > > [javac] @Override > > > [javac] ^ > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\jdk\javadoc\ > > > internal\doclets\toolkit\builders\LayoutParser.java:110: > > > error: method does not override or implement a method from a supertype > > > [javac] @Override > > > [javac] ^ > > > [javac] C:\git\netbeans\incubator-netbeans\nbbuild\build\ > > > langtools\src\jdk.javadoc\share\classes\jdk\javadoc\ > > > internal\doclets\toolkit\builders\LayoutParser.java:126: > > > error: method does not override or implement a method from a supertype > > > [javac] @Override > > > [javac] ^ > > > [javac] 12 errors > > > > > > BUILD FAILED > > > C:\git\netbeans\incubator-netbeans\nbbuild\build.xml:154: Compile > failed; > > > see the compiler error output for details. > > > > > > I want to apologize up front as I'm rather new to the project and hope > I > > > have not gone the wrong way in submitting but have I raised the issue > > > already with https://issues.apache.org/jira/browse/NETBEANS-1866 > > > > > > I suspect this to be due to changes in the jdk 11 but not completely > > sure. > > > > > > > > > Eric Bresie > > > [email protected] > > > > > >
