blob: 26d5aea4b5fee1db84856bb5e194cb89edc99208 [file] [log] [blame]
#!/bin/bash
# Java startup helper
# if JAVA_HOME is specified, use related version
echo "Java run helper"
if [ ! -z "$JAVA_HOME" ] ; then
echo "JAVA_HOME=$JAVA_HOME"
$JAVA_HOME/bin/java "$@"
else
echo "Java on path"
java "$@"
fi