diff options
author | Lone_Wolf | 2024-01-15 11:59:47 +0100 |
---|---|---|
committer | Lone_Wolf | 2024-01-15 11:59:47 +0100 |
commit | c66f97ffcd1e70f27b2db4aada7f744ae9b743cd (patch) | |
tree | 4922760925628082d680baad4b7c6c71e30fb612 /freecol-git.sh | |
parent | d4da906dcc747176c06b5195cbec0fd0ee8212b7 (diff) | |
download | aur-freecol-git.tar.gz |
switch to SPDX license identifiers, added explanatory comments to freecol-git.sh
Diffstat (limited to 'freecol-git.sh')
-rw-r--r-- | freecol-git.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freecol-git.sh b/freecol-git.sh index 150570e190e3..c5b149349e5c 100644 --- a/freecol-git.sh +++ b/freecol-git.sh @@ -1,5 +1,9 @@ #!/bin/bash export PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH" +# While freecol can be run with openjdk11 or later, running it with openjdk 11 is preferred. +# The above export PATH ensures that if openjdk 11 is present it will be found & used. _FC_PATH=/usr/share/java/freecol-git exec java -Xms4096M -Xmx4096M -jar $_FC_PATH/FreeCol.jar --freecol-data $_FC_PATH/data "$@" +# freecol used to run slow and with problems on systems where it didn't get enough memory. +# This has been improved in recent versions but it still runs better with more memory available. |