Ops Center (MOSC)

MOSC Banner

Ops Center 12c - cronjob error "JAVA_HOME does not contain java."

edited Jan 22, 2015 10:01AM in Ops Center (MOSC) 6 commentsAnswered
I have installed ops center 12c and the installation went fine.  However, now I'm getting this error.

---- snip
 Your "cron" job on server0
 /var/opt/sun/xvm/ocm/ccr/bin/emCCR -cron -silent start

produced the following output:

JAVA_HOME does not contain java.
JAVA_HOME is not a valid JDK/JRE directory.
Redefine JAVA_HOME to refer to a JDK/JRE 1.2.2 or greater and invoke
  /var/opt/sun/xvm/ocm
----- snip

There is no variable set for JAVA_HOME for the root user since the java binary is in the path
root@server0# which java
/usr/bin/java

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center