git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@996684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-09-13 20:45:35 +00:00
parent e5201f6450
commit 39cfce287b
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ if [ "$OSTYPE" = "cygwin" ]; then
fi
# Detect the location of the java binary
if [ -z "$JAVACMD" ] ; then
if [ -z "$JAVACMD" ] || [ "$JAVACMD" = "auto" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables