Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread Antonio
Hi, I have been successfully compiling with OpenJDK 8 for several months now (I don't have Oracle JDK8 installed in my preferred box, nor JavaFX). Make sure that: a) JAVA_HOME is either _NOT_ set or set to a proper OpenJDK8 place. (run "unset JAVA_HOME" if unsure, "echo $JAVA_HOME" to check)

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread Neil C Smith
On Fri, 5 Jan 2018, 22:58 John McDonnell, wrote: > .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. > Why not? Has something changed recently to stop this working? Best wishes, Neil > -- Neil C Smith Art

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread John McDonnell
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 wrote: > > Hi, > > I'm getting "/home/peter/incubator-netbeans/core.ne

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread Geertjan Wielenga
Follow the README and use Oracle JDK. Gj On Friday, January 5, 2018, Peter Nabbefeld wrote: > Hello Jan, > > I created a file "nbjdk.home=/usr/lib64/jvm/java-8-openjdk" in the > nbbuild folder as advised when I tried to just build NetBeans, but the > build file itself seems not to always recogn

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread Peter Nabbefeld
Hello Jan, I created a file "nbjdk.home=/usr/lib64/jvm/java-8-openjdk" in the nbbuild folder as advised when I tried to just build NetBeans, but the build file itself seems not to always recognize this. I've not fully investigated this, however, so I might be wrong. As far as I can see from

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread Jan Lahoda
Hi Peter, On Fri, Jan 5, 2018 at 3:44 PM, Peter Nabbefeld 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 >

Re: [NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread Geertjan Wielenga
Follow the README and you'll be fine: https://github.com/apache/incubator-netbeans/blob/master/README.md Gj On Fri, Jan 5, 2018 at 3:44 PM, Peter Nabbefeld wrote: > > Hi, > > I'm getting > "/home/peter/incubator-netbeans/core.network/src/org/netbeans/core/network/proxy/pac/impl/ClassFilterPacHe

[NB Git] NetBeans does not compile with OpenJDK 8

2018-01-05 Thread Peter Nabbefeld
Hi, I'm getting "/home/peter/incubator-netbeans/core.network/src/org/netbeans/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