OPatch Error: "Oracle Home is not set. OPatch cannot proceed with error code = 1"

(Doc ID 1299909.1)

Last updated on APRIL 16, 2018

Applies to:

Hyperion BI+ - Version 11.1.1.1.00 and later
Information in this document applies to any platform.
**3.2.15***

Symptoms

As part of applying a patch, the OPatch version is checked.  Normally, opatch.exe would do this, however, it gives the following error:

 “Oracle Home is not set.  OPatch cannot proceed with error code = 1”

From the Readme, this workaround was provided:

D:\>cd Hyperion

D:\Hyperion>cd OPatch

D:\Hyperion\OPatch>opatch version
Oracle Home is not set. OPatch cannot proceed!

OPatch failed with error code = 1

 This also fails with an error.

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