Opatch Errors: "Java could not be located. OPatch cannot proceed!.OPatch failed with error code = 1"
(Doc ID 417177.1)
Last updated on FEBRUARY 14, 2023
Applies to:
Oracle Database - Standard Edition - Version 9.2.0.1 to 11.2.0.3 [Release 9.2 to 11.2]Oracle Database - Enterprise Edition - Version 9.2.0.1 to 11.2.0.3 [Release 9.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)
Symptoms
"opatch lsinventory” command is giving the error :
>set ORACLE_HOME=<ORACLE_HOME_LOCATION>
><ORACLE_HOME_LOCATION>\opatch\opatch lsinventory
The system cannot find the path specified.
File Not Found
FINDSTR: Cannot open \oui\oraparam.ini
Java could not be located. OPatch cannot proceed!
OPatch failed with error code = 1
Cause
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
Symptoms |
Cause |
Solution |
References |