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#Using_the_wrong_JDK And, why is jdk15 selected even though builds will fail? > My guess is it was picking it up in the PATH. In regard your other email about Nashorn, I believe the plan it to replace it with Graaljs https://issues.apache.org/jira/browse/NETBEANS-2 --Christian On Fri, Feb 12, 2021 at 7:39 AM Jeremy Cavanagh <[email protected]> wrote: > 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 for an > existing jdk on my system, installing it within usr, so I was unaware of > its existence. So I did a standalone install of Ant (haveing removed it > from homebrew along with the rogue jdk15). > > However, running the ant command still did not recognise JAVA_HOME and > picked up the jdk15 from /Library/Java/JavaVirtualMachines, where I have > jdk8, jdk11 and jdk15. So had to move jdk15 so that it couldn't be found. > > Then success! Wow, that is an amazing experience. > > However, I now have lots of questions. > > The first, is for Christian. Which specific file are you suggesting I > need to edit to set nbjdk, I am rather confused. And, why is jdk15 > selected even though builds will fail? > > I have more general questions, but, shall stick to a single topic. The > process took 88 minutes 49 seconds. The large part (it felt at the time) > was downloading from maven etc., as my internet access has become > unbelieveably slow recently (not that it is amazing when working > correctly). 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 experimental purposes would Ant > re-dowload everything or use what is already there. > > Apologies for this rambling email. > > Kind regards > > Jeremy > > --------------------------------------------------------------------- > 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 > > > >
