Tuesday, March 9, 2010

The ORACLE_HOME does not contain Java.

While trying to install Oracle's Configuration Manager application, I ran in to the following error:

The ORACLE_HOME does not contain java.
The ORACLE_HOME does not contain a valid JDK/JRE.

This particular tier did not have Java installed, so that it was complaining was expected. However, I didn't want to install Java on this tier just to get CCR. I opened up the setup script to see what it was doing. Upon doing so, I found that it was referencing JAVA_HOME_CCR. Setting this to the path of Java fixed the issue and setup continued normally.

export JAVA_HOME_CCR=/u01/DEV/devcomn/util/java/1.4/j2sdk1.4.2_04

It appears that you only need to configure this for the setup. I've rebooted my server several times and emCCR continues to show that it is running and working correctly.