diff --git a/jred b/jred index 471457d..93b645a 100755 --- a/jred +++ b/jred @@ -2,4 +2,5 @@ LOG=org.slf4j.simpleLogger.defaultLogLevel=debug JAR=${JRED_PATH:-$(dirname $0)}/jred-all.jar + java -XX:+UseG1GC -D$LOG -jar $JAR "$@" diff --git a/jred_start b/jred_start index a2b841a..5b22c8d 100755 --- a/jred_start +++ b/jred_start @@ -2,6 +2,7 @@ LOG=org.slf4j.simpleLogger.defaultLogLevel=debug JAR=${JRED_PATH:-$(dirname $0)}/jred-all.jar + mkdir -p $HOME/.jred nohup java -XX:+UseG1GC -D$LOG -jar $JAR "$@" server \ < /dev/null \