Oops !
I took too long to put together my post
Glad it's working for you, ariel58
-- kjh
tl;dr
ariel58 --
Do you have a JAVA_HOME Env Variable ?
I run AlienBob's openjdk here ...
This is mine:
This is the output:
Code:
JAVA_HOME=/usr/lib64/java # the JAVA_HOME ENV Varb is REQUIRED to use java
MANPATH=/usr/local/share/man:/usr/local/share/man::/usr/lib64/java/man:/usr/lib64/node_modules/npm/man:/usr/lib64/java/man:/usr/lib64/node_modules/npm/man
PATH=/home/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/libexec/kf5:/usr/lib64/java/bin:/usr/lib64/qt5/bin:/home/konrad/bin
There should be a file in /etc/profile.d that sets JAVA_HOME when your log in.
This is mine:
Code:
grep -Hi JAVA_HOME /etc/profile.d/*
This is the output:
Code:
/etc/profile.d/openjdk11.csh:setenv JAVA_HOME /usr/lib64/java # this is for csh logins
/etc/profile.d/openjdk11.csh:setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
/etc/profile.d/openjdk11.csh:setenv PATH ${PATH}:${JAVA_HOME}/bin
/etc/profile.d/openjdk11.sh:export JAVA_HOME=/usr/lib64/java # this is for non-csh logins
/etc/profile.d/openjdk11.sh:export MANPATH="${MANPATH}:${JAVA_HOME}/man"
/etc/profile.d/openjdk11.sh:export PATH="${PATH}:${JAVA_HOME}/bin"
I run bash ( not csh ) so is /etc/profile.d/openjdk11.sh executable ?
This is mine:
Code:
ls -lad $(grep -l JAVA_HOME /etc/profile.d/*)
This is the output:
Code:
-rwxr-xr-x 1 root root 124 Nov 28 12:58 /etc/profile.d/openjdk11.csh*
-rwxr-xr-x 1 root root 127 Nov 28 12:58 /etc/profile.d/openjdk11.sh* # yep, the x-bits are set ...
If you run Oracle Java, you may-or-may not have the /etc/profile.d files, depending on how the jre / jdk was installed.
If there are no /etc/profile.d files then that's the place to start.
And, like cwizardone said, AlienBob's Packages ( openjdk and libreoffice ) 'just work' for me.
-- kjh