Creating the ocm.rsp file for opatchauto
Oracle Enterprise Linux 6.5
Oracle Grid Infrastructure 12.1.0.2
Need to create the ocm.rsp file to use opatchauto for the PSU OCT 2014.
$ java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (rhel-2.5.1.2.0.1.el6_5-x86_64 u65-b17)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
$ which java
/usr/bin/java
$ env | echo JAVA_HOME
/usr/bin/java
./emocmrsp
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.
So you can see that java is installed on this server, I have JAVA_HOME set, java version is greater than 1.2.2