diff options
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 |