diff options
author | professorkaos64 | 2016-11-18 13:48:14 -0500 |
---|---|---|
committer | professorkaos64 | 2016-11-18 13:48:14 -0500 |
commit | cc83985fe40d6c04bbf7ee2b3d74bd8cf338404d (patch) | |
tree | e0dbec17a8016da15e7d24221d4ed685542664bc /PlayOnLinux.sh | |
parent | 01d776ad8dcd3a02ecf7a9363fca167a1214650e (diff) | |
download | aur-cc83985fe40d6c04bbf7ee2b3d74bd8cf338404d.tar.gz |
rework launch script
Diffstat (limited to 'PlayOnLinux.sh')
-rwxr-xr-x | PlayOnLinux.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/PlayOnLinux.sh b/PlayOnLinux.sh new file mode 100755 index 000000000000..9cbc1091bb04 --- /dev/null +++ b/PlayOnLinux.sh @@ -0,0 +1,11 @@ +POL_HOME=/opt/playonlinux5 +CLASSPATH=${CLASSPATH}:$POL_HOME/lib/* + +# Ensure we are using the right java env +# Don't necessarily force default Java 8, as it is not the default for Arch Linux right now +# This handles users with Java 7 and 8 +export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH + +java -classpath "$CLASSPATH" com.playonlinux.app.PlayOnLinuxApp "$@" + +# Unset |