src/Tools/jEdit/dist-template/lib/Tools/jedit
changeset 40565 40cefa372680
parent 40155 0b57e3d9bc62
child 40574 226563829580
--- a/src/Tools/jEdit/dist-template/lib/Tools/jedit	Tue Nov 16 10:33:36 2010 +0100
+++ b/src/Tools/jEdit/dist-template/lib/Tools/jedit	Tue Nov 16 15:23:26 2010 +0100
@@ -79,6 +79,9 @@
 declare -a JAVA_ARGS; eval "JAVA_ARGS=($JEDIT_JAVA_OPTIONS $JEDIT_SYSTEM_OPTIONS)"
 [ -n "$SCALA_HOME" ] && JAVA_ARGS["${#JAVA_ARGS[@]}"]="-Dscala.home=$SCALA_HOME"
 
+"$ISABELLE_TOOL" java -server >/dev/null 2>/dev/null && \
+  JAVA_ARGS["${#JAVA_ARGS[@]}"]="-server"
+
 declare -a ARGS; eval "ARGS=($JEDIT_OPTIONS)"
 
 declare -a OPTIONS; eval "OPTIONS=($ISABELLE_JEDIT_OPTIONS)"