OCM Configuration failed due to "JAVA_HOME does not contain java"
[oracle@racn1 ~]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u01/Stage/patch/ocm.rsp
JAVA_HOME does not contain java.
JAVA_HOME does not contain a valid JDK/JRE.
Redefine JAVA_HOME to refer to a JDK/JRE 1.2.2 or greater.
[oracle@racn1 ~]$ export JAVA_HOME=/u01/app/oracle/product/11.2.4/db_1/jdk
[oracle@racn1 ~]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u01/Stage/patch/ocm.rsp
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y
The OCM configuration response file (/u01/Stage/patch/ocm.rsp) was successfully created.
[oracle@racn1 ~]$
[oracle@racn1 ~]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u01/Stage/patch/ocm.rsp
JAVA_HOME does not contain java.
JAVA_HOME does not contain a valid JDK/JRE.
Redefine JAVA_HOME to refer to a JDK/JRE 1.2.2 or greater.
[oracle@racn1 ~]$ export JAVA_HOME=/u01/app/oracle/product/11.2.4/db_1/jdk
[oracle@racn1 ~]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u01/Stage/patch/ocm.rsp
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y
The OCM configuration response file (/u01/Stage/patch/ocm.rsp) was successfully created.
[oracle@racn1 ~]$
No comments:
Post a Comment