summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources/scripts
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-04-04 16:54:23 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-04-04 16:54:23 +0200
commit734d2aa49a7701a622cdbe3c4167db6e2a9c31dc (patch)
tree02e563d7d05f0e7838e1d5282b8f151c51b5f4cc /pdf-over-gui/src/main/resources/scripts
parent3e63904fb84cdf6668f363ba2544e5b2fcf3e901 (diff)
downloadpdf-over-734d2aa49a7701a622cdbe3c4167db6e2a9c31dc.tar.gz
pdf-over-734d2aa49a7701a622cdbe3c4167db6e2a9c31dc.tar.bz2
pdf-over-734d2aa49a7701a622cdbe3c4167db6e2a9c31dc.zip
enable JRE bunding for mac start script
Diffstat (limited to 'pdf-over-gui/src/main/resources/scripts')
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh b/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh
index 7c923463..2e0e34a7 100644
--- a/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh
+++ b/pdf-over-gui/src/main/resources/scripts/pdf-over_mac.sh
@@ -1,4 +1,4 @@
#!/bin/sh
BASEDIR=$(cd "$(dirname "$0")"; pwd)
export LC_CTYPE="UTF-8"
-exec java -XstartOnFirstThread -cp "$BASEDIR/lib/*" at.asit.pdfover.gui.Main "$@" &
+exec $BASEDIR/jre/${bundled-jre.nameInArchive}/bin/java -XstartOnFirstThread -cp "$BASEDIR/lib/*" at.asit.pdfover.gui.Main "$@" &