Install latest Opatch in Oracle Home environment

Install and update the latest Opatch in Oracle Home

  1. 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.