How to fix this Error ? : OPatch Exception: OUI found no such ORACLE_HOME set in the environment (Doc ID 2019534.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Applications Technology Stack - Version 12.1.3 and later
Information in this document applies to any platform.

Goal

Running Opatch 

Output from :~/apps/tech_st/10.1.2/OPatch$ opatch lsinventory -details fails on the below Error :

OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
OPatch Exception: OUI found no such ORACLE_HOME set in the environment
 Can not get details for given Oracle Home
 An exception occurs
 null
 

Solution

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