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 126.96.36.199.0 and later
Information in this document applies to any platform.
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: 188.8.131.52.12
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?
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