https://issues.apache.org/bugzilla/show_bug.cgi?id=52632

--- Comment #5 from [email protected] ---
Keep in mind that you want to configure JAVA_HOME and JAVACMD using the same
mechanisms.

JAVA_HOME="`/usr/libexec/java_home`"
JAVACMD="$JAVA_HOME/bin/java"

or

JAVACMD="`which java 2> /dev/null `"
JAVA_HOME="$JAVACMD/../.."
# Note I have left out logic to identify and follow symlinks here

The point is they should be consistent, since the java configured on the path
may be different from that configured OS-wide.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to