1

While installing build ant - netbeans from incubating-netbeans 10.0 source I see this screen. I have added Java path and installed ant.

C:\Netbeans10>ant
Buildfile: C:\Netbeans10\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...

init-tasks:

-check-vanilla-javac:

prepare-vanilla-javac:
   [delete] Deleting directory C:\Netbeans10\nbbuild\build\langtools
    [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools
    [unzip] Expanding: C:\Netbeans10\nbbuild\external\langtools-9.zip into C:\Netbeans10\nbbuild\build\langtools
[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

-def-check:

-check-langtools.jdk.home:

-prepare-build:
    [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\modules
    [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\toolclasses
    [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\gensrc
    [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\bin
    [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\prevsrc

-def-pparse:
     [copy] Copying 1 file to C:\Netbeans10\nbbuild\build\langtools\build\toolclasses\propertiesparser
    [javac] Compiling 2 source files to C:\Netbeans10\nbbuild\build\langtools\build\toolclasses

-def-pcompile:
    [javac] Compiling 2 source files to C:\Netbeans10\nbbuild\build\langtools\build\toolclasses

generate-sources:
[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:
[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:
   [pparse] Generating 1 resource files to C:\Netbeans10\nbbuild\build\langtools\build\gensrc\jdk.compiler
 [pcompile] Generating 15 resource files to C:\Netbeans10\nbbuild\build\langtools\build\gensrc\jdk.compiler
[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 18 resource files to C:\Netbeans10\nbbuild\build\langtools\build\gensrc\jdk.javadoc
[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 10 resource files to C:\Netbeans10\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:\Netbeans10\nbbuild\build\langtools\build\gensrc\jdk.jshell
    [mkdir] Created dir: C:\Netbeans10\nbbuild\build\langtools\build\nb
    [javac] Compiling 1031 source files to C:\Netbeans10\nbbuild\build\langtools\build\nb
    [javac] C:\Netbeans10\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:\Netbeans10\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] C:\Netbeans10\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:\Netbeans10\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:\Netbeans10\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:\Netbeans10\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:\Netbeans10\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:\Netbeans10\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:\Netbeans10\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:\Netbeans10\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:\Netbeans10\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:\Netbeans10\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:\Netbeans10\nbbuild\build.xml:151: Compile failed; see the compiler error output for details.

Total time: 1 minute 49 seconds

C:\Netbeans10>

how to install this file? java version: 11.0.2; javac -version: 11.0.2;ant -version: 1.10.5

protected by Ramhound Mar 15 at 5:09

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Browse other questions tagged or ask your own question.