If you need to upgrade your Java version please proceed as follows:
…/jdk_<old>/jre/lib/security/
or create a new cacerts file including the necessary certificates (e.g. company root certificate).…/jdk_<new>/jre/lib/security/
touch /etc/profile.d/java_home.sh
cat <<EOF> /etc/profile.d/java_home.sh export JAVA_HOME=\$(readlink -f /usr/bin/java | sed "s:/bin/java::") export PATH=\$PATH:\$JAVA_HOME/bin EOF
source /etc/profile