I'm on the same OSX with the same JDK, so that's weird. Just to check, can
you run 'java -version' in the terminal?

Gj

On Fri, Sep 15, 2017 at 10:30 PM, William Winder <[email protected]>
wrote:

> I had different failures on OSX when trying to build the
> incubator-netbeans github mirror. I'm going to try attaching the build log.
>
> I'm running macOS version 10.12.6, my JDK is 1.8.0_121
>
> Here is the build failure:
>
> compile-bridge:
>     [mkdir] Created dir: /opt/incubator-netbeans/o.
> apache.tools.ant.module/build/bridge-classes
>     [javac] Compiling 7 source files to /opt/incubator-netbeans/o.
> apache.tools.ant.module/build/bridge-classes
>    [repeat] warning: [options] bootstrap class path not set in conjunction
> with -source 1.6
>    [repeat] warning: unknown enum constant When.ALWAYS
>    [repeat]   reason: class file for javax.annotation.meta.When not found
>    [repeat] /opt/incubator-netbeans/o.apache.tools.ant.module/src-
> bridge/org/apache/tools/ant/module/bridge/impl/BridgeImpl.java:174: error:
> cannot assign a value to final variable systemClasspath
>    [repeat]             Path.systemClasspath = new Path(null,
> AntBridge.getMainClassPath());
>    [repeat]                 ^
>    [repeat] /opt/incubator-netbeans/o.apache.tools.ant.module/src-
> bridge/org/apache/tools/ant/module/bridge/impl/NbInputHandler.java:132:
> war
> ning: [unchecked] unchecked call to JComboBox(Vector<E>) as a member of
> the raw type JComboBox
>    [repeat]             combo = new JComboBox(((
> MultipleChoiceInputRequest)request).getChoices());
>    [repeat]                     ^
>    [repeat]   where E is a type-variable:
>    [repeat]     E extends Object declared in class JComboBox
>    [repeat] 1 error
>    [repeat] 3 warnings
>   [nbmerge] Failed to build target: all-o.apache.tools.ant.module
>
> BUILD FAILED
> /opt/incubator-netbeans/nbbuild/build.xml:450: The following error
> occurred while executing this line:
> /opt/incubator-netbeans/nbbuild/build.xml:445: The following error
> occurred while executing this line:
> /opt/incubator-netbeans/nbbuild/build.xml:492: The following error
> occurred while executing this line:
> /opt/incubator-netbeans/o.apache.tools.ant.module/build.xml:62: Compile
> failed; see the compiler error output for details.
>
>
>
> On Fri, Sep 15, 2017 at 4:09 PM, Geertjan Wielenga <
> [email protected]> wrote:
>
>> On Wed, Sep 13, 2017 at 8:48 PM, Major Péter <[email protected]>
>> wrote:
>>
>> > Hi,
>> >
>> > I cloned the repo today and tried to run NetBeans (ant && ant tryme) on
>> > OSX and I had various compilation related exceptions and NPEs with a
>> > Maven project. Almost every code completion request resulted in an
>> > exception popup..
>> > Anyone had a similar experience with the donated code? Is this NetBeans
>> > version meant to be stable at this point?
>> >
>>
>>
>> Not able to reproduce this -- can you provide more details?
>>
>> Gj
>>
>
>

Reply via email to