Opatch Errors: "Java could not be located. OPatch cannot proceed!.OPatch failed with error code = 1" (Doc ID 417177.1)

Last updated on MAY 31, 2017

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]
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)
Checked for relevance on 29-MAY-2012

Symptoms

"opatch lsinventory” command is giving the error :

>set ORACLE_HOME=e:\oracle\product\10.2.0\client_1
>e:\oracle\product\10.2.0\client_1\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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms