summarylogtreecommitdiffstats
path: root/PlayOnLinux.sh
diff options
context:
space:
mode:
authorprofessorkaos642016-12-26 11:17:10 -0500
committerprofessorkaos642016-12-26 11:17:10 -0500
commite564c98426e73c3663edbb3015726713ac840a07 (patch)
tree9fc46ac0ad46cf4e86e648451cbb16228aa3a072 /PlayOnLinux.sh
parent1ba2f1e1ceab737f257cc8d1b1c25f113c6da7e2 (diff)
downloadaur-e564c98426e73c3663edbb3015726713ac840a07.tar.gz
use java env in deps
Diffstat (limited to 'PlayOnLinux.sh')
-rwxr-xr-xPlayOnLinux.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/PlayOnLinux.sh b/PlayOnLinux.sh
index f2e680dcafa..0ae1b310c9d 100755
--- a/PlayOnLinux.sh
+++ b/PlayOnLinux.sh
@@ -11,3 +11,5 @@ export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
java -classpath "$CLASSPATH" com.playonlinux.app.PlayOnLinuxApp "$@"
# Unset vars?
+# Note: Java version can be sourced with this one liner:
+# IFS=\" read -r _ version _ < <(java -version 2>&1); printf %s\\n "$version