Install and update the latest Opatch in Oracle Home
- Download the latest opatch with Patch No: 6880880 from Oracle Support Site.
For installation, we have two options to install:
First option:
- Check the old patch version, Go to directory $oracle_home\opatch version
C:\Oracle\dbhomeXE\OPatch>opatch version
OPatch Version: 12.2.0.1.14
OPatch succeeded.
- Took backup of Oracle Opatch folder from Oracle Home $ORACLE_HOME\OPATCH
- Unzip the downloaded opatch utility in another folder.
- Place that opatch folder in the Oracle Home Directory $ORACLE_HOME\opatch
- Verify the Opatch with its version command : opatch version
Second option:
- Unzip this latest patch.
- Backup the old opatch directory from Oracle Home : $ORACLE_HOME\opatch
- Set ORACLE_HOME, JAVA_HOME and PATH variables.
- Upgrade OPATCH version using following command:
java -jar <PATCH_HOME>/6880880/opatch_generic.jar -silent oracle_home=<ORACLE_HOME_LOCATION>
- Verify with Opatch version command:
C:\Oracle\dbhomeXE\OPatch>opatch version
OPatch Version: 12.2.0.1.14
OPatch succeeded.