I got compilation errors on a different module *xml.tools*.

With Java 9 (build 9-ea+173)

compile:

   [depend] Deleted 12 out of date files in 0 seconds

 [nb-javac] Compiling 5 source files to <unzip-root>/xml.tools/build/classes

   [repeat] warning: [options] bootstrap class path not set in conjunction
with -source 1.4

   [repeat] error: Source option 1.4 is no longer supported. Use 1.6 or
later.

   [repeat] error: Target option 1.4 is no longer supported. Use 1.6 or
later.

  [nbmerge] Failed to build target: all-xml.tools


BUILD FAILED

<unzip-root>/nbbuild/build.xml:450: The following error occurred while
executing this line:

<unzip-root>/nbbuild/build.xml:445: The following error occurred while
executing this line:

<unzip-root>/nbbuild/build.xml:492: The following error occurred while
executing this line:

<unzip-root>/nbbuild/templates/common.xml:225: Compile failed; see the
compiler error output for details.



*Cheers*
Mani/Naren/Iyer
*The trick of walking on water is knowing where the stones are.*

On Thu, Jun 15, 2017 at 12:13 AM, Marco Molteni <molte...@gmail.com> wrote:

> hi,
>
> macOS: High Sierra Beta
> JDK: Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
>
> Build, tryme and new small application: OK
>
> With JDK 9 there I get the following error, it seems that JDK 9 is not
> supported.
>
> /Users/marco/Downloads/netbeans-donation-review/
> nbbuild/templates/projectized.xml:96:
> You are attempting to build NetBeans using JDK 9 (or higher).
>
> This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
>
> Either run Ant with JDK 8, or set nbjdk.home=<JDK 8 home> in
> /Users/marco/Downloads/netbeans-donation-review/
> nbbuild/user.build.properties
>
> (can be set from IDE by opening a module project's Properties dialog and
> picking the right Java Platform in Libraries).
>
> You can alternatively set this property in /Users/marco/.nbbuild.
> properties
> to affect all checkouts on this machine.
>
> If you are sure you want to build with JDK 9+ anyway, use:
> -Dpermit.jdk9.builds=true
>
>
> I tried with '-Dpermit.jdk9.builds=true' but the build failed:
>
> [nbmerge] Failed to build target: all-o.n.bootstrap
>
> BUILD FAILED
>
> On Wed, Jun 14, 2017 at 8:15 PM, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
> > Can you also try with JDK 8 and see if that makes a difference?
> >
> > Gj
> >
> > On Wed, Jun 14, 2017 at 7:55 PM, Marco Molteni <molte...@gmail.com>
> wrote:
> >
> > > Hi,
> > >
> > > OS: macOS 10.13 Beta (High Sierra)
> > > JDK 9: Java(TM) SE Runtime Environment (build 9-ea+173)
> > >
> > > Build FAILED.
> > >
> > > Should I open an issue or the environment doesn't qualify for the test?
> > >
> > >
> > > Marco
> > >
> > > On Wed, Jun 14, 2017 at 1:25 AM, Jiří Kovalský <
> jiri.koval...@oracle.com
> > >
> > > wrote:
> > >
> > > > Hello NetCAT 9.0 participants,
> > > >
> > > >    let me first of all warmly welcome all the well known faces (ehm,
> > > > e-mails :) in this new Apache hosted NetCAT mailing list but more
> > > > importantly we are thrilled to see several new supporters!
> > > >
> > > >    While there are almost 80 subscribers to this list, we have only
> 56
> > > > participants registered in the NetBeans dashboard [1] so if you don't
> > > find
> > > > your name in the table, we strongly suggest to sign up [2] as soon as
> > > > possible. Without passing this registration step, you won't have your
> > > > account created in Synergy and you won't be able to participate in
> the
> > > > official certification later.
> > > >
> > > > [1] http://services.netbeans.org/dashboard/web/participants.php
> > > > [2] http://services.netbeans.org/dashboard/web/netcat_signup.php
> > > >
> > > >    Today we have the very first assignment for you. As the initial
> > > > NetBeans code donation to Apache Incubator is just round the corner
> we
> > > > would like you to download the ZIP with NetBeans sources, extract
> these
> > > > locally, build the IDE with ANT and then give it your first test
> drive.
> > > The
> > > > more OS/JDK8/JDK9 configurations we get covered the better!
> > > >
> > > >    If you spot anything suspicious either during the building process
> > or
> > > > using the IDE later, don't hesitate to share your findings through
> this
> > > > list first and let's file common problems to JIRA [3] then.
> > > >
> > > > [3] https://issues.apache.org/jira/projects/NETBEANS
> > > >
> > > > The ZIP and instructions what to do are available here:
> > > >
> > > > http://deadlock.netbeans.org/job/prototypes-donation_review/
> > > >
> > > > Thanks for your help and we declare open the NetBeans Community
> > > Acceptance
> > > > Program (NetCAT) of version 9.0! :)
> > > >
> > > > Happy testing,
> > > > Jirka & Hermien
> > > >
> > >
> >
>

Reply via email to