freebsd-ports/textproc/xalan-j/files/xalan-j.sh.in
Herve Quiroz bdc49e85aa - Re-enable Java 1.5 [1]
- Use exec(1) to launch the JVM
- Set CLASSPATH so that it only contains the required JAR files

Submitted by:	mi [1] (a long time ago on freebsd-java@)
2006-08-06 23:21:41 +00:00

4 lines
207 B
Bash

#!/bin/sh
# $FreeBSD$
JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" -cp "%%JAVALIBDIR%%/xml-apis.jar:%%JAVALIBDIR/xercesImpl.jar:%%JAVAJARDIR%%/xalan.jar" org.apache.xalan.xslt.Process "$@"