summarylogtreecommitdiffstats
path: root/jabref.sh
diff options
context:
space:
mode:
authorDan McCurry2017-10-11 23:03:15 -0400
committerDan McCurry2017-10-11 23:03:15 -0400
commit2aa009f647fc3be81151aff5f03177ccf3dd6234 (patch)
treeed475934ab0d54fb54170bebc6298bb2ba962a64 /jabref.sh
parent0baa132a0d82533f5a25cda9e0ec6e3d7e33ac07 (diff)
downloadaur-2aa009f647fc3be81151aff5f03177ccf3dd6234.tar.gz
Fixed issue with java path
Diffstat (limited to 'jabref.sh')
-rw-r--r--jabref.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/jabref.sh b/jabref.sh
index 79d3fa916ab..ae2c61cf5c0 100644
--- a/jabref.sh
+++ b/jabref.sh
@@ -1,5 +1,6 @@
#!/bin/sh
-# Force usage of latest java version
-JVM_PATH=$(find /usr/lib/jvm/* -maxdepth 0 -type d | sort | tail -n1)
-exec $JVM_PATH/jre/bin/java -jar /usr/share/java/jabref/JabRef.jar "$@"
+# Uncomment the line below if an unsupported default is set in archlinux-java
+
+#export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
+exec java -jar /usr/share/java/jabref/JabRef.jar "$@"