Tuesday, 3 May 2016

OCM Configuration fails "The ORACLE_HOME does not contain Java"

OCM Configuration fails "The ORACLE_HOME does not contain Java"

While trying to install Oracle's Configuration Manager application following error issued:
[oracle@LAB bin]$ /u01/app/oracle/product/11.2.0.3/DB/OPatch/ocm/bin/emocmrsp
The ORACLE_HOME does not contain java.
The ORACLE_HOME does not contain a valid JDK/JRE.
Redefine JAVA_HOME to refer to a JDK/JRE 1.2.2 or greater.

Somehow it was failing to recognize java home.

Workaround:

export JAVA_HOME=/u01/app/oracle/product/11.2.0.3/DB/jdk

-- Re- issue the above command it will success

 /u01/app/oracle/product/11.2.0.3/DB/OPatch/ocm/bin/emocmrsp


No comments:

Post a Comment