Read tge README. Apache NetBeans can be built with JDK 8 only, which is why
your 2nd environment failed. This is a vote thread. Please use it only for
voting, nothing else.

Gj

On Saturday, July 14, 2018, [email protected] <[email protected]> wrote:

> my first netbeans build be gentle with me ;-)
> 1 BUILD SUCCESSFUL
> 1 BUILD FAILED
>
> BUILD SUCCESSFUL
> Total time: 24 minutes 55 seconds
> sysadmin@station9:/media/sysadmin/data0/temp/incubator-netbeans-master$
> java -version
> openjdk version "1.8.0_171"
> OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.
> 16.04.1-b11)
> OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
> Distributor ID:    elementary
> Description:    elementary OS 0.4.1 Loki
> Release:    0.4.1
> Codename:    loki
>
>
> BUILD FAILED
> /mnt/data0/temp/incubator-netbeans-master/nbbuild/build.xml:153: Compile
> failed; see the compiler error output for details.
>
> Total time: 3 minutes 11 seconds
> pb@mobile7:/mnt/data0/temp/incubator-netbeans-master$ java -version
> openjdk version "10.0.1" 2018-04-17
> OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
> OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
> Distributor ID:    Ubuntu
> Description:    Pop!_OS 18.04 LTS
> Release:    18.04
> Codename:    bionic
>
> generate-sources-internal:
>  [pcompile] Generating 6 resource files to /mnt/data0/temp/incubator-
> netbeans-master/nbbuild/build/langtools/build/gensrc/jdk.jshell
>     [mkdir] Created dir: /mnt/data0/temp/incubator-
> netbeans-master/nbbuild/build/langtools/build/nb
>     [javac] Compiling 1031 source files to /mnt/data0/temp/incubator-
> netbeans-master/nbbuild/build/langtools/build/nb
>     [javac] /mnt/data0/temp/incubator-netbeans-master/nbbuild/build/
> langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/model/AnnotationProxyMaker.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] /mnt/data0/temp/incubator-netbeans-master/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] /mnt/data0/temp/incubator-netbeans-master/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] /mnt/data0/temp/incubator-netbeans-master/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] /mnt/data0/temp/incubator-netbeans-master/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] /mnt/data0/temp/incubator-netbeans-master/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] /mnt/data0/temp/incubator-netbeans-master/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] /mnt/data0/temp/incubator-netbeans-master/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] /mnt/data0/temp/incubator-netbeans-master/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] /mnt/data0/temp/incubator-netbeans-master/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] /mnt/data0/temp/incubator-netbeans-master/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] 11 errors
>
> BUILD FAILED
> /mnt/data0/temp/incubator-netbeans-master/nbbuild/build.xml:153: Compile
> failed; see the compiler error output for details.
>
> pb...
>
>
>
> On 2018/07/08 09:40:32, Emilian Bold <[email protected]>
> wrote:
> > Hi all,
> >
> > Please vote on releasing Apache NetBeans 9.0 (incubating)!
> >
> > If this voting candidate passes, another similar voting will be started
> on [email protected], and if that passes too, then we can
> release this version. This build will also undergo validation through
> NetCAT.
> >
> > Apache NetBeans 9.0 (incubating) constitutes all the modules in the
> Apache NetBeans Git repo, which together provide the NetBeans Platform
> (i.e., the underlying application framework), as well as all the modules
> that provide the Java SE-related features of Apache NetBeans.
> >
> > In short, Apache NetBeans 9.0 (incubating) is a full IDE for Java SE
> development.
> >
> > Build artifacts available here:
> >
> > https://dist.apache.org/repos/dist/dev/incubator/netbeans/
> incubating-netbeans-java/incubating-9.0-vc3
> >
> > The specific artifact to be voted on:
> >
> > https://dist.apache.org/repos/dist/dev/incubator/netbeans/
> incubating-netbeans-java/incubating-9.0-vc3/incubating-
> netbeans-java-9.0-source.zip
> >
> > Included in the above are the DEPENDENCIES, DISCLAIMER, LICENSE, and
> NOTICE files, as well as a README file with build instructions, which are
> the same as these:
> >
> > https://gitbox.apache.org/repos/asf?p=incubator-
> netbeans.git;a=blob_plain;f=README.md;h=eccd3c6cc707ba9ca219bcfb729794
> 35d85f5f7a;hb=97904961e496383d6150aef9b78fa8dff8f3e1ce
> >
> > SHA1: ed2098c173460ec81f05635055066da06a7ea82b
> >
> > KEYS file:
> >
> > https://dist.apache.org/repos/dist/release/incubator/netbeans/KEYS
> >
> > Apache NetBeans Git Repo tag: 9.0-vc3 :
> >
> > https://gitbox.apache.org/repos/asf?p=incubator-
> netbeans.git;a=tag;h=refs/tags/9.0-vc3
> >
> > Note: NetBeans license violation checks are managed via the
> rat-exclusions.txt file:
> >
> > https://gitbox.apache.org/repos/asf?p=incubator-
> netbeans.git;a=blob;f=nbbuild/rat-exclusions.txt;h=
> 36cb8a3eae40bd7fc41c63c6055bce42f7916859;hb=97904961e496383d6150aef9b78fa8
> dff8f3e1ce
> >
> > Rat report shows no unknown licenses, except for license files:
> >
> > https://builds.apache.org/job/incubator-netbeans-release/
> 334/artifact/rat-java-temp/nbbuild/build/rat-report.txt
> >
> > Included as a convenience binary, not relevant for the voting purposes
> (unzip it, run it and you'll see Apache NetBeans):
> >
> > https://dist.apache.org/repos/dist/dev/incubator/netbeans/
> incubating-netbeans-java/incubating-9.0-vc3/incubating-
> netbeans-java-9.0-bin.zip
> >
> > Also included as a convenience binary the NBMs:
> >
> > https://dist.apache.org/repos/dist/dev/incubator/netbeans/
> incubating-netbeans-java/incubating-9.0-vc3/nbms
> >
> > New & Noteworthy features of the 9.0 Release:
> >
> > https://cwiki.apache.org/confluence/display/NETBEANS/
> Apache+NetBeans+9.0+New+and+Noteworthy
> >
> > Release specific wiki page:
> >
> > https://cwiki.apache.org/confluence/display/NETBEANS/
> Apache+NetBeans+9.0+Final+Release
> >
> > How (and what) to try out the release:
> >
> > 1. Download the artifact to be voted on and unzip it.
> > 2. Verify the cryptographic signatures, the NOTICE and LICENSE file
> > 3. Build it using the README provided by the artifact.
> > 4. Look in nbbuild/netbeans for the NetBeans installation created by the
> build process.
> > 5. Run the NetBeans executable and (if you're running on JDK 8) you'll
> be prompted to install nb-javac, after agreeing to its licensing terms, and
> (if you're running on JDK 9), you'll be able to use javac directly from JDK
> 9 and, optionally, you'll be prompted to install nb-javac, after agreeing
> to its licensing terms.
> >
> > If the above succeeds, i.e., Apache NetBeans installs and starts up vote
> +1 in this thread.
> >
> > Note that according to http://www.apache.org/legal/
> release-policy.html#release-approval :
> >
> > > Before casting +1 binding votes, individuals are REQUIRED to download
> all
> > > signed source code packages onto their own hardware, verify that they
> meet
> > > all requirements of ASF policy on releases as described below,
> validate all
> > > cryptographic signatures, compile as provided, and test the result on
> their
> > > own platform.
> >
> > Please try out the package, using the instructions above, and vote!
> >
> > The vote is open for a minimum of 72 hours or until the necessary number
> of votes (3 binding +1s) is reached.
> >
> > [ ] +1 Release this package as Apache NetBeans 9.0 (incubating)
> > [ ] 0 I don't feel strongly about it, but I'm okay with the release
> > [ ] -1 Do not release this package because...
> >
> > Please add "(binding)" if your vote is binding, i.e., you are an Apache
> NetBeans PPMC member, i.e., your name is on this page:
> http://home.apache.org/committers-by-project.html#netbeans , although
> note the only real binding votes in the incubator are those of the IPMC,
> i.e., in the next vote thread, after this one passes.
> >
> > Emilian Bold
> > on behalf of the Apache NetBeans PPMC
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Reply via email to