#!/bin/sh # Please change the INSTDIR pointing to the installation directory # of the base package. You can copy this script then to your # your binary directory for easy calling. INSTDIR=/path/to/gen4sablecc-x.x # If you're running jdk 1.4.1 or later then you'll already have # xalan and you don't need to to anything. If not you need to get the # Apache's java xalan 2 and XALANDIR to where you installed it. # Get the binary distribution from http://xml.apache.org/ XALANDIR=/path/to/xalan-j_2_5_1 java -cp $INSTDIR/lib/gen4sablecc.jar:$XALANDIR/bin/xml-apis.jar:$XALANDIR/bin/xercesImpl.jar:$XALANDIR/bin/xalan.jar:$XALANDIR/bin/bsf.jar:$INSTDIR/lib/js.jar:$INSTDIR/lib/bsf.jar:$CLASSPATH Main $INSTDIR $*