#!/bin/sh
#
# This is a script to run the Java based lst clock as a
# Java application.  
#
# jbrandt@nrao.edu January 1, 2000

# If JAVA_HOME is set, use it to find classes.zip otherwise
# set it explictly (edit as required).
if [ -z "$JAVA_HOME" ]; then
    JAVA_CL_FILE=/usr/java/lib/classes.zip
else
    JAVA_CL_FILE=$JAVA_HOME/lib/classes.zip
fi

# Set the full path to the jlstclk.jar file (edit as required)
LSTJAR=/users/jbrandt/public_html/jLSTclock/jlstclk.jar

java -classpath $JAVA_CL_FILE:$LSTJAR jlstclk lstfmt='HH:mm:ss _LST_ yyyyy' longitude=79.840277 fontsize=18 $@

