On Thu, 3 Oct 2019 at 18:37, mlist <[email protected]> wrote:
>
> On Thu, 3 Oct 2019 18:27:54 +0100 Neil C Smith wrote:
>
> > If Suse has update-alternatives or equivalent, you might be better
> > setting up java and javac with that instead?
>
> What is 'update-alternatives'?
>

It's this https://software.opensuse.org/package/update-alternatives

Example I found of using on Suse here -
https://forums.opensuse.org/showthread.php/512626-Java-8-jdk-and-update-alternatives-on-Leap

Basically do

sudo update-alternatives --display java
sudo update-alternatives --display javac

to see what's available, and

sudo update-alternatives --config java
sudo update-alternatives --config javac

to select which java and javac are picked up on the path.  Make sure
both are set to 8.  Then just try with system ant and default sources.

YMMV - works on Ubuntu anyway.

Best wishes,

Neil

---------------------------------------------------------------------
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