Sentinel version 8.5.0 and 8.5.0.1
Scenario:
When I test configure pre-bundle elasticsearch function...I find a confused question...
1. when I refer the document to switch novell account to run create ca file. it show it need java11 .but sentinel only use 1.8.x version. the patchCD of 8.5.0.1 not provide java 11 .
so I try download it from openSuSE
2. after install java 11 (java-11-openjdk-11) , I check $JAVA_HOME , it list /usr/lib64/jvm/java, and the patch point to /etc/alternatives/java_sdk then it point to /usr/lib64/jvm/java-1.8.0-openjdk. so the path like
/usr/lib64/jvm/java ==> /etc/alternatives/java_sdk ==>/usr/lib64/jvm/java-1.8.0-openjdk.
because I need replace latest java11...I try to replace java_sdk softlink...
1. cd /etc/alternatives
2. ln -nfs /usr/lib64/jvm/java-11-openjdk-11 java_sdk
but I test sometimes...some it could replace well (I re-logini or reboot...the $JAVA_HOME var always show /usr/lib64/jvm/java)
but sometimes testing when I re-login or reboot ...the $JAVA_HOME var change to /usr/lib64/jvm/java-1.8.0 , the java-1.8.0 in the another soft-link
I try to modify the JAVA_HOME...but I could not find it on /etc/profile or /etc/bash.bashrc
I think I use incorrect method or command ....But which command is correct let me update java and let JAVA_HOME could point latest path ??
Thanks!!
Wencheng