blob: 154ded2ebaccd40eee6fa4049d96ba46bca75e39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
self_path=$(realpath $0)
environment_file=$(dirname $self_path)/beast2-environment
source $environment_file
# use BEAST_EXTRA_LIBS variable to load BEAGLE and other libraries from non-default locations
# this assumes that the library path contains all these libraries (or are set through LD_LIBRARY_PATH)
if [ -n "$BEAST_EXTRA_LIBS" ]; then
"$JAVA" -Dlauncher.wait.for.exit=true -Xms256m -Xmx8g -Djava.library.path="$BEAST_EXTRA_LIBS" -Duser.language=en \
-cp $DEFAULT_CP:$BEAST_LIB/launcher.jar \
--module-path $JFX_LIBS --add-modules "$JFX_MODULES" \
beast.pkgmgmt.launcher.AppLauncherLauncher LogAnalyser $*
else
"$JAVA" -Dlauncher.wait.for.exit=true -Xms256m -Xmx8g -Duser.language=en \
-cp $DEFAULT_CP:$BEAST_LIB/launcher.jar \
--module-path $JFX_LIBS --add-modules "$JFX_MODULES" \
beast.pkgmgmt.launcher.AppLauncherLauncher LogAnalyser $*
fi
|