Warning: JAVA_HOME is not defined correctly.

Discussion created by brecka on Jun 21, 2012
Latest reply on Jun 27, 2012 by priyanga
Hi fellow Clarity soldiers,

i have another issue with Clarity r13 on RHel, it's probably not a biggie, but annoying to see it all the time...

-when i use:
$ sudo ./service status all
-result is:
Warning: JAVA_HOME is not defined correctly.
Cannot execute /bin/java.
CA Clarity PPM Beacon [beacon] is running: PID:27443, Wrapper:STARTED, Java:STARTED
CA Clarity PPM System Admin Server [nsa] is running: PID:27909, Wrapper:STARTED, Java:STARTED
$ echo $JAVA_HOME
$ java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
services are running , everything is fine - why there's a warning about JAVA_HOME being not defined correctly?