diff options
author | professorkaos64 | 2016-12-26 11:17:10 -0500 |
---|---|---|
committer | professorkaos64 | 2016-12-26 11:17:10 -0500 |
commit | e564c98426e73c3663edbb3015726713ac840a07 (patch) | |
tree | 9fc46ac0ad46cf4e86e648451cbb16228aa3a072 /PlayOnLinux.sh | |
parent | 1ba2f1e1ceab737f257cc8d1b1c25f113c6da7e2 (diff) | |
download | aur-e564c98426e73c3663edbb3015726713ac840a07.tar.gz |
use java env in deps
Diffstat (limited to 'PlayOnLinux.sh')
-rwxr-xr-x | PlayOnLinux.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PlayOnLinux.sh b/PlayOnLinux.sh index f2e680dcafa2..0ae1b310c9dd 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 |