On 2022-02-04, Arve Barsnes <arve.bars...@gmail.com> wrote:
> On Fri, 4 Feb 2022 at 22:49, Grant Edwards <grant.b.edwa...@gmail.com> wrote:
>>
>> I've got two "slots" of java currently installed (8 and 11). 
>> [...]
>> How does one manually invoke non-selected version(s) of java?
>> [...]
>
> I don't think there is any convenient out of the box link like for
> python or gcc,

That was what I concluded, but I was a bit surprised.

> but you could make equivalent links if you want.  Otherwise you
> should use the paths in your commands. On this box I have:
>
> /usr/lib64/openjdk-8/bin/java
> /usr/lib64/openjdk-11/bin/java

Yep. I've currently got '-bin' versions installed so here it's:

$ find /opt/{icedtea*,openjdk*} -type f -executable -name 'java'
/opt/icedtea-bin-3.16.0/jre/bin/java
/opt/icedtea-bin-3.16.0/bin/java
/opt/openjdk-bin-11.0.14_p9/bin/java



Reply via email to