#!/bin/dash
if type java > /dev/null; then
	cd /opt/projectlibre &&
	exec ./projectlibre.sh
else
	Xdialog --title "Missing Java" --msgbox "
You need Java to run ProjectLibre.
Get Java SFS from SFS Manager, or download it yourself using the
utilities provideded in Control Panel.
" 0 0
fi
