#!/bin/sh
#
# $Id: jpcaptool,v 1.4 2001/06/05 18:34:50 pcharles Exp $
#
# jpcap console test tool startup script
#

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

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

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

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

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