summaryrefslogtreecommitdiff
blob: 5a5e067af2ad7995b91df1b0994aeb6d94c18d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

which java > /dev/null 2>&1 && \
	java -jar INSTALL_DIR/cgoban.jar "${@}" && \
	exit 0

echo "No \"java\" binary found in your PATH."
echo "You should run \"java-config\" to choose your default VM."
exit 1