Re: Re: Compiling Netbeans from source

2021-02-13 Thread Eric Bresie
See https://openjdk.java.net/jeps/372. It is removed (if I’m not mistaken) in Java 15. Expectations are for it to be replaced by GraalVM JavaScript engine. Eric Bresie ebre...@gmail.com (mailto:ebre...@gmail.com) > On February 12, 2021 at 1:01:37 PM CST, Matthias Bläsing > mailto:mblaes...@dopp

Re: Compiling Netbeans from source

2021-02-12 Thread Matthias Bläsing
Hi, Am Freitag, den 12.02.2021, 14:03 +0100 schrieb Jeremy Cavanagh > > Another simple question. Why are there 60 warnings: > > Warning: Nashorn engine is planned to be removed from a future JDK release > > in the build log when we know that it has already been removed? this comes from the jav

Re: Compiling NetBeans from source on macos

2021-02-12 Thread Christian Oyarzun
Hi Jeremy, Glad you it is compiling for you. Which specific file are you suggesting I > need to edit to set nbjdk, I am rather confused. > nbbuild/user.build.properties does not exist by default. Here is some older documentation on the file. http://wiki.netbeans.org/WorkingWithNetBeansSources#Us

Re: Compiling NetBeans from source on macos

2021-02-12 Thread Neil C Smith
On Fri, 12 Feb 2021 at 12:40, Jeremy Cavanagh wrote: > And, why is jdk15 > selected even though builds will fail? Ask Ant! ;-) > So, is it possible to access a local repo, like NetBeans > does, for bulding from source? And related to that, if I made changes to > something in the source now for e

Re: Compiling Netbeans from source

2021-02-12 Thread Jeremy Cavanagh
Hi All, Another simple question. Why are there 60 warnings: Warning: Nashorn engine is planned to be removed from a future JDK release in the build log when we know that it has already been removed? Regards Jeremy - To unsub

Re: Compiling NetBeans from source on macos

2021-02-12 Thread Jeremy Cavanagh
Hi All, First, I would like to thank Lazlo, Christian and Neil for their helpful replies. I did eventually succeed sometime after 01:30 this morning. The cause of my problem was using homebrew to install Ant. Big mistake, as it insisted on installing jdk15 as a dependency, without checking f

Re: Compiling NetBeans from source on macos

2021-02-11 Thread Neil C Smith
On Thu, 11 Feb 2021 at 17:18, Laszlo Kishalmi wrote: > Most probably your build is still using Java 15 Secretly. I'd recommend > you to check your property files. Maybe try to run ant with --debug > output it in a file and try to look for java 15, to detect how that gets > infiltrated into your pr

Re: Compiling NetBeans from source on macos

2021-02-11 Thread Christian Oyarzun
Hi Jeremy, I would try the following: export JAVA_HOME=/path/to/java11home export PATH=$JAVA_HOME/bin:$PATH create a user.build.properties in nbbuild with the following line: nbjdk.home=/path/to/java11home Then compile with ant build -Dpermit.jdk9.builds=true --Christian On Thu, Feb 11, 20

Re: Compiling NetBeans from source on macos

2021-02-11 Thread Laszlo Kishalmi
Most probably your build is still using Java 15 Secretly. I'd recommend you to check your property files. Maybe try to run ant with --debug output it in a file and try to look for java 15, to detect how that gets infiltrated into your process. On 2/11/21 8:58 AM, Jeremy Cavanagh wrote: Hi, I