Tuesday, March 14, 2017

bsu.sh JDK6.0 No such file or directory

Problem

If you run the BSU command for WebLogic patching:
cd /u01/app/oracle/middleware/utils/bsu 
./bsu.sh
You get the following error:
./bsu.sh: line 7: /u01/app/oracle/middleware/JDK6.0/bin/java: No such file or directory
Solution

1. Edit this file:
vi /u01/app/oracle/middleware/utils/bsu/bsu.sh
2. Comment out the following line or set it to a valid JAVA_HOME:
JAVA_HOME="/u01/app/oracle/middleware/JDK6.0"
 
Applicable Versions
  • Oracle WebLogic Server 11g (10.3.6)

 

No comments: