summarylogtreecommitdiffstats
path: root/PlayOnLinux.sh
blob: 9cbc1091bb0486f05bb23232053321ee2334b248 (plain)
1
2
3
4
5
6
7
8
9
10
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