Home > database >  Use oracle OPatch upgrade patch
Use oracle OPatch upgrade patch

Time:10-09

Use xshell tools to perform operation:
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 - oracle
CD $ORACLE_HOME/OPatch
./opatch lsinv
  • Related