Friday, July 22, 2011

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]$ ./setupCCR -s
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.

export JAVA_HOME=/u01/app/oracle/product/11.2.0/db_1/jdk

And then run the setup again.

./setupCCR -s    

References:  Note: 854831.1 - Installation Fails with “The JAVA_HOME_CCR environment variable does not contain java and/or jar

No comments: