
JAGUAR_HOME=$HOME/jaguar
LIBPATH=$JAGUAR_HOME/lib
export LD_LIBRARY_PATH=$LIBPATH

/bin/rm -f *.class

JAR=jaguar-jdbc-3.1.jar

apikey=`cat $HOME/.jagrc`
export JAGUAR_API_KEY=$apikey

javac -cp $LIBPATH/$JAR:.  example.java 
java -Djava.library.path=$LIBPATH -cp $LIBPATH/$JAR:. example 192.168.1.88 8888

javac -cp $LIBPATH/$JAR:.  JaguarJDBCTest.java
java -Djava.library.path=$LIBPATH -cp $LIBPATH/$JAR:. JaguarJDBCTest  192.168.1.88 8888

