Error:
Execute the command:/opatch lsinv
Prompt error:
JAVA (1.6) could not be located. OPatch always proceed!
OPatch returns with the error code=1
Solution:
1, use the command: alternatives -- config Java (see the JDK)
In light of the situation, set up the JDK version;
2:/opatch lsinv jre/usr (system is used to specify the JDK)
CodePudding user response:
Su - oracleCD $ORACLE_HOME/OPatch
./opatch lsinv