You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yesterday I converted the CentOS 8.4 to RHEL 8.4 successfully with convert2rhel command. But the java command soft link is missing after the convertion. My command is "convert2rhel --disable-submgr --enablerepo rhes84-baseos --enablerepo rhes84-appstream -y --no-rpm-va --debug". The convert log message doesn't complain about the openjdk. Actually the openjdk package is still there.
# ls -l /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre/bin/java
-rwxr-xr-x. 1 root root 11520 Feb 24 2021 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre/bin/java
But the java soft link is missing.
# which java
/usr/bin/which: no java in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/cdfwendy/bin:/cdfwendy/bin:/root/bin)
# alternatives --list
libnssckbi.so.x86_64 auto /usr/lib64/pkcs11/p11-kit-trust.so
python auto /usr/libexec/no-python
ifup auto /usr/libexec/nm-ifup
ld auto /usr/bin/ld.bfd
mkisofs auto /usr/bin/genisoimage
print auto /usr/bin/lpr.cups
xinputrc auto /etc/X11/xinit/xinput.d/ibus.conf
nmap auto /usr/bin/ncat
python3 auto /usr/bin/python3.6
cifs-idmap-plugin auto /usr/lib64/cifs-utils/cifs_idmap_sss.so
libwbclient.so.0.15-64 auto /usr/lib64/samba/wbclient/libwbclient.so.0.15
Before the convert, the java is showed in alternatives list as below.
# alternatives --list
libnssckbi.so.x86_64 auto /usr/lib64/pkcs11/p11-kit-trust.so
python auto /usr/libexec/no-python
ifup auto /usr/libexec/nm-ifup
ld auto /usr/bin/ld.bfd
mkisofs auto /usr/bin/genisoimage
print auto /usr/bin/lpr.cups
xinputrc auto /etc/X11/xinit/xinput.d/ibus.conf
nmap auto /usr/bin/ncat
python3 auto /usr/bin/python3.6
cifs-idmap-plugin auto /usr/lib64/cifs-utils/cifs_idmap_sss.so
libwbclient.so.0.15-64 auto /usr/lib64/samba/wbclient/libwbclient.so.0.15
java auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre/bin/java
jre_openjdk auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre
jre_1.8.0 auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64/jre
jre_1.8.0_openjdk auto /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.282.b08-4.el8.x86_64
Any suggestions are appreciated.
The text was updated successfully, but these errors were encountered:
Thank you bocekm for the workaround. It looks good. I didn't apply it because I had applied a heavy workaround: uninstall the openjdk package and install it again.
Yesterday I converted the CentOS 8.4 to RHEL 8.4 successfully with convert2rhel command. But the java command soft link is missing after the convertion. My command is "convert2rhel --disable-submgr --enablerepo rhes84-baseos --enablerepo rhes84-appstream -y --no-rpm-va --debug". The convert log message doesn't complain about the openjdk. Actually the openjdk package is still there.
The java command exists as well.
But the java soft link is missing.
Before the convert, the java is showed in alternatives list as below.
Any suggestions are appreciated.
The text was updated successfully, but these errors were encountered: