diff --git a/kse/res/kse.sh b/kse/res/kse.sh index f91076f27..066354f57 100644 --- a/kse/res/kse.sh +++ b/kse/res/kse.sh @@ -35,7 +35,7 @@ JAR_FILE="${SCRIPT_DIR}/kse.jar" JAVA_OPTIONS="-splash:${SCRIPT_DIR}/splash.png" if [ -d "${SCRIPT_DIR}/jre" ]; then - "${SCRIPT_DIR}/jre/bin/java" ${JAVA_OPTIONS} -jar "${JAR_FILE}" "$@" + "${SCRIPT_DIR}/jre/bin/java" "${JAVA_OPTIONS}" -jar "${JAR_FILE}" "$@" else - java ${JAVA_OPTIONS} -jar "${JAR_FILE}" "$@" + java "${JAVA_OPTIONS}" -jar "${JAR_FILE}" "$@" fi