Why recent CPU WLS patch set the hard coded JDK Home instead of soft link in WebLogic files?
Hi,
We noticed that when we upgraded JDK from JDK 8u421 to JDK 8u431 and continue to apply the CPU WLS patches on WebLogic server we are not able to apply the WLS patch and hit the below error log,
"The jdk /usr/lib/jvm/jdk-1.8.0_421-oracle-x64 is not accessible. Please set appropriate JAVA_HOME and run again."
Check the WebLogic we found there is hard coded JDK Home path "/usr/lib/jvm/jdk-1.8.0_421-oracle-x64" set in below files
/opt/oracle/product/fmw-weblogic-12.2.1.4.0/inventory/Clone/ng_clone.xml
/opt/oracle/product/fmw-weblogic-12.2.1.4.0/oui/bin/compareInventory.sh
/opt/oracle/product/fmw-weblogic-12.2.1.4.0/oui/bin/launch.sh