#!/bin/ksh
#
# $Id: jpcaptool,v 1.1 2001/05/17 19:55:05 pcharles Exp $
#
# jpcap console test tool startup script
#

# change the following to point to the location where the jpcap distribution
# is unarchived
export JPCAP_HOME=.

# change the following to point to the location of your JDK or JRE installation
export JAVA_HOME=/usr/java/jdk1.3

# change the following to point to the location of libpcap.so
LIB_PCAP=/usr/lib

# change the following to point to the location of libjpcap.so
LIB_JPCAP=$JPCAP_HOME/lib/

# you shouldn't need to change the following..
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=$CLASSPATH:$JPCAP_HOME/jars/all_net.sourceforge.jpcap-v0.00.01.jar
export CLASSPATH=$CLASSPATH:$JPCAP_HOME/jpcap/thirdParty/jars/dev-classes_net.ultrametrics-0.03.jar
export CLASSPATH=$CLASSPATH:$JPCAP_HOME/jpcap/thirdParty/jars/fooware_CommandLine-1.0.jar
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIB_PCAP
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIB_JPCAP

echo classpath = $CLASSPATH
echo ld_library_path = $LD_LIBRARY_PATH

# run the console test tool
java net.sourceforge.jpcap.client.CaptureTool
