Thx Tim. I’ll take a look at it. I love a tool that makes things easier.
I’m pretty sure that’s why I’m a software dev. :)

On Tue, Dec 3, 2019 at 14:42 Tim Boudreau <niftin...@gmail.com> wrote:

> FYI, I find myself needing to switch between JDKs enough that I set up some
> tooling to make that a single shell alias to do that cleanly (actually
> removing and replacing things from $PATH, rather then endlessly prepending
> more JAVA_HOME/bin dirs to it).  That might make things simpler for anyone
> who wants to build NetBeans with JDK 8 but do other things with something
> else.
>
> Here's the script (requires nodejs - my preferred command-line scripting
> tool these days):
> https://timboudreau.com/files/fixpath.txt
>
> You'll want to rename it without the '.txt' extension, put it in ~/bin or
> someplace like that, and follow the instructions in the comment at the top
> to set up
> shell variables and aliases for the various JDKs you use.  It's pretty
> straightforward.
>
> -Tim
>
> On Tue, Dec 3, 2019 at 7:44 AM Steven Ingram <steven.rextech...@gmail.com>
> wrote:
>
> > I made my local repo pristine, set my system JDK to 11, and built the
> > project with no issues. My original issue with “applemenu” has also
> > vanished. I’ve made no other concessions for the project with local
> > configuration, it just works out of the box now, which is fantastic.
> >
> > I did have to set my build command to allow jdk 9, but I’m taking the
> > README as the truth.
> >
> > "Requirements
> > Git
> > Ant 1.9.9 or above
> > JDK 8 or 11 (to build NetBeans)
> > JDK 9 or above (to run NetBeans)"
> >
> > My problems started when I used a system set JDK 8 to build and run NB.
> >
> > Thanks everyone!
> >
> > Steven
> >
> > On Tue, Dec 3, 2019 at 05:21 Neil C Smith <neilcsm...@apache.org> wrote:
> >
> > > On Tue, 3 Dec 2019 at 09:56, Peter Hull <peterhul...@gmail.com> wrote:
> > > > This means checking the PATH and JAVA_HOME and JDK_HOME and
> > > > .nbbuild.properties and  nbbuild\user.build.properties for
> consistency.
> > >
> > > Possibly ANT_HOME missing there?  I know there was a line about
> > > setting JAVA_HOME and ANT_HOME integrated into the readme during the
> > > 11.2 release window.  Is this by itself still not enough?
> > >
> > > See https://github.com/apache/netbeans/pull/1554 and
> > >
> > >
> >
> https://mail-archives.apache.org/mod_mbox/netbeans-dev/201910.mbox/%3C26c1f141-b021-4473-059f-41ec0b5e3613%40status6.com%3E
> > >
> > > Best wishes,
> > >
> > > Neil
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > > For additional commands, e-mail: dev-h...@netbeans.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> > >
> > >
> >
>
>
> --
> http://timboudreau.com
>

Reply via email to