#!/bin/sh
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/povtree/files/povtree,v 1.2 2004/07/14 22:40:52 agriffis Exp $

which java > /dev/null 2>&1 && \
	java -jar /usr/lib/povtree/povtree.jar $* && \
	exit 0

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