On Tue, 2 Jun 2020, B Watson wrote:

Did you log out and back in after installing the java package? They all
set JAVA_HOME and a few other variables in an /etc/profile.d/ script that
gets sourced during login.

B,

Yes. Not only because I read that but because it makes sense.

2. Can't I have multiple java (jdk and jre) versions installed? Different
jave applications are hard-coded for specific java versions.

The way I'd handle this (which might even be the right way?) would be to
first make sure the various java packages don't step on each others'
files. If that's the case, you'd switch between multiple installed java
packages by making one & only one of the profile.d scripts executable,
then log out & back in after you change which one is +x, each time you do
it.

Excellent advice and I'll follow it. I thought that java applications would
find the version they wanted if it was installed, and use it.

Thanks,

Rich
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to