My Oracle Support Banner

Error - "OPatch cannot continue because it would not be able to load OUI platform dependent library from the directory" when trying to apply a patch (Doc ID 2968926.1)

Last updated on AUGUST 18, 2023

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Goal

It is necessary to apply a patch to JDeveloper installation.

As is required, the ORACLE_HOME is set correctly and the PATH is set correctly as well.

The JAVA_HOME being used by OPatch is a 64 bit version of JDK 8

Regardless of what approach is taken, the following error is seen:

opatch version
OPatch Version: 13.9.4.2.12

OPatch succeeded.

opatch apply

OPatch cannot continue because it would not be able to load OUI platform dependent library from the directory $ORACLE_HOME\oui\lib\win32". The directory does not exist in the Oracle home.

This could be due to the following reasons.
(1) Incompatible usage of java with OUI (32/64 bit).
(2) Wrong 32-bit Oracle Home installation in 64-bit environment (or) vice-versa.
Please contact Oracle support for more details.

OPatch failed with error code = 1

The same error is seen when running 'opatch lsinventory'.
What could be causing the error?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.