#!/bin/csh

setenv PATH /java/pubs/dev/jdk1.4/bin:$PATH

###if ($JAXP) then
###  echo "Using JAXP variable to access bundles at $JAXP"
###  echo 'NOTE: This only works for 1.3 and below. As of 1.4, XML APIs'
###  echo '      are "endorsed standards"'
###  set CP = .:${JAXP}/jaxp-api.jar:${JAXP}/sax.jar:${JAXP}/dom.jar:${JAXP}/xercesImpl.jar:${JAXP}/xalan.jar:${JAXP}/xsltc.jar:${CP}
###else
  # JAXP was not defined or has no value
  set VER = `java -version |& grep version | sed "s^java version ^^" | cut -c2-4`
  if ($VER != "1.3"  && $VER != "1.4") then
      echo Must use JAXP environment variable to specify location of JAXP jar files
      exit
    endif
  endif
  set CP = "."
###endif
java -classpath ${CP} $*


