Gentoo Archives: gentoo-user

From: Arve Barsnes <arve.barsnes@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Re: How to invoke non-selected versions of 'java'?
Date: Sat, 05 Feb 2022 07:51:26
Message-Id: CAJjrzcU9-8JnA=KwGaSApJFYX8zZTNGghPk-W6KQoZ5JvqJTeg@mail.gmail.com
In Reply to: [gentoo-user] Re: How to invoke non-selected versions of 'java'? by Grant Edwards
1 On Sat, 5 Feb 2022 at 00:48, Grant Edwards <grant.b.edwards@×××××.com> wrote:
2 > Yep. I've currently got '-bin' versions installed so here it's:
3 >
4 > $ find /opt/{icedtea*,openjdk*} -type f -executable -name 'java'
5 > /opt/icedtea-bin-3.16.0/jre/bin/java
6 > /opt/icedtea-bin-3.16.0/bin/java
7 > /opt/openjdk-bin-11.0.14_p9/bin/java
8
9 You should also have the /opt/openjdk-bin-11 symbolic link, so the bin
10 versions also have a "permanent" path to use in your commands. They're
11 not in your path since it is the folder names that are versioned, and
12 not the executables.
13
14 Regards,
15 Arve