Hi

The repository is correct.

If you look at the readme it says "Oracle JDK 8 (to build NetBeans)"

Seems your using open jdk?  So I doubt it would build correctly.

Regards

John

On 5 January 2018 at 14:44, Peter Nabbefeld <[email protected]> wrote:

>
> Hi,
>
> I'm getting "/home/peter/incubator-netbeans/core.network/src/org/netbean
> s/core/network/proxy/pac/impl/ClassFilterPacHelpers.java:21: error:
> package jdk.nashorn.api.scripting does not exist", when trying to build
> NetBeans from incubator repository.
>
> Value of "nbjdk.bootclasspath" is:
> /usr/lib64/jvm/java-8-openjdk/jre/lib/charsets.jar:/usr/lib6
> 4/jvm/java-8-openjdk/jre/lib/jce.jar:/usr/lib64/jvm/java-8-
> openjdk/jre/lib/jfxswt.jar:/usr/lib64/jvm/java-8-openjdk/
> jre/lib/jsse.jar:/usr/lib64/jvm/java-8-openjdk/jre/lib/
> management-agent.jar:/usr/lib64/jvm/java-8-openjdk/jre/lib/
> resources.jar:/usr/lib64/jvm/java-8-openjdk/jre/lib/rt.jar
>
> I tried to edit project.xml, adding the missing jar files, but got another
> problem:
> ...
> Created dir: /home/peter/incubator-netbeans/libs.jsr223/build/classes
> Compiling 1 source file to /home/peter/incubator-netbeans
> /libs.jsr223/build/classes
> error: Source option 1.4 is no longer supported. Use 1.6 or later.
> error: Target option 1.4 is no longer supported. Use 1.6 or later.
> ...
>
> As libs.jsr223 is dummy only, it just should be removed, if possible.
>
> And more of this:
> Compiling 8 source files to /home/peter/incubator-netbeans
> /openide.util.enumerations/build/classes
> error: Source option 1.4 is no longer supported. Use 1.6 or later.
> error: Target option 1.4 is no longer supported. Use
>
> Why are those outdated targets set?
>
> And, because it seems others don't have the same problems: Is the
> repository url "https://github.com/apache/incubator-netbeans.git"; correct?
>
> Kind regards
> Peter
>
>
> ---------------------------------------------------------------------
> 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