#!/bin/sh

if [ ! -r ${NGC_HOME}/nextgen2.jar ]; then
  echo '${NGC_HOME} does not point to a working NGC distribution';
  exit 1
fi


exec java -classpath $CLASSPATH:${NGC_HOME}/nextgen2.jar edu.rice.cs.nextgen2.compiler.Main -source 1.5 $*

