summarylogtreecommitdiffstats
path: root/brailleblaster.sh
blob: 0765b76cdedcec404daecfc80c145936f5a86503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
cd /opt/brailleblaster/
if [ ! -z "$JAVA_HOME" ]; then
	cmd="$JAVA_HOME/bin/java"
else
	if which java; then
		cmd="java"
	else
		echo "java not found on \$PATH"
		exit 1
	fi
fi

$cmd -cp lib/linux-x86_64/org.eclipse.swt.gtk.linux.x86_64.jar:brailleblaster.jar org.brailleblaster.Main