#!/bin/csh

#
# Change this to your JDK installation root
#
#setenv TGH /usr/local/Together-4.2
#setenv JAVA_HOME /usr/local/jdk1.2.2
#setenv JAVA_HOME /usr/local/jdk1.3

setenv TGH ../..
#
# Change that, if your java interpreter is different
#
setenv JAVA $JAVA_HOME/bin/java

if (! -r $TGH/help/together-help.jar ) then
    echo "You didn't install Together help."
    echo "The file $TGH/help/together-help.jar is not found."
    exit
endif


#
# This command actually runs Together/OM
#

$JAVA -ms32m -mx512m -classpath $TGH/lib/gifs.zip:$TGH/classes:$TGH/lib/i18n:$TGH/lib/together.jar:$TGH/lib/openapi.jar:$TGH/lib/jgl.zip:$TGH/lib/jacl.jar:$TGH/lib/xml4j.jar:$TGH/lib/jcvs/application/jcvs.jar:$TGH/lib/tcljava.jar:$TGH/lib/misclib.zip:$TGH/lib/javax.jar:$TGH/lib/jcpagelayout401K.jar:$TGH/lib/jndi.jar:$TGH/lib/jhall.jar:$TGH/help/together-help.jar:$JAVA_HOME/lib/jpda.jar:../lib/jpda.jar:$JAVA_HOME/jre/lib/rt.jar  com.togethersoft.impl.help.HelpLoader "/together-help.hs"
