|
|
@ -85,9 +85,6 @@ done
|
|
|
|
APP_BASE_NAME=${0##*/}
|
|
|
|
APP_BASE_NAME=${0##*/}
|
|
|
|
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
|
|
|
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
|
|
|
|
|
|
|
|
|
|
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
|
|
|
|
|
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
|
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
|
|
MAX_FD=maximum
|
|
|
|
MAX_FD=maximum
|
|
|
|
|
|
|
|
|
|
|
@ -133,10 +130,13 @@ location of your Java installation."
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
else
|
|
|
|
JAVACMD=java
|
|
|
|
JAVACMD=java
|
|
|
|
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
|
|
if ! command -v java >/dev/null 2>&1
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
|
|
|
|
|
|
|
|
|
|
Please set the JAVA_HOME variable in your environment to match the
|
|
|
|
Please set the JAVA_HOME variable in your environment to match the
|
|
|
|
location of your Java installation."
|
|
|
|
location of your Java installation."
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Increase the maximum file descriptors if we can.
|
|
|
|
# Increase the maximum file descriptors if we can.
|
|
|
@ -197,6 +197,10 @@ if "$cygwin" || "$msys" ; then
|
|
|
|
done
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
|
|
|
|
|
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
|
|
|
|
|
|
|
|
|
|
# Collect all arguments for the java command;
|
|
|
|
# Collect all arguments for the java command;
|
|
|
|
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
|
|
|
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
|
|
|
# shell script including quotes and variable substitutions, so put them in
|
|
|
|
# shell script including quotes and variable substitutions, so put them in
|
|
|
|