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.
And then run the setup again.