aboutsummaryrefslogtreecommitdiff
path: root/graphics/jdraw/files/jdraw.in
blob: d2de0aa702cfaf0b88089d43d0c37dd297473b7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# $FreeBSD$

if [ -z "${JAVA_VERSION}" ]; then
	JAVA_VERSION="%%JAVA_VERSION%%"
fi

if [ "${JAVA_VERSION}" \> "1.4" ]; then
 	LOOK_AND_FEEL="%%PLASTIC3D%%"
 else
	LOOK_AND_FEEL=
fi

exec "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%" ${LOOK_AND_FEEL} -jar "%%JDRAWJAR%%" "$@"