#!/bin/sh
#
# $Id: jpcaptool,v 1.2 2001/05/28 21:25:28 pcharles Exp $
#
# jpcap console test tool startup script
#

# change the following to point to the location where the jpcap distribution
# is unarchived
JPCAP_HOME=.
export 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.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 JAVA_HOME LIB_PCAP LIB_JPCAP
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=$CLASSPATH:$JPCAP_HOME/jars/all_net.sourceforge.jpcap-v0.00.03.jar
CLASSPATH=$CLASSPATH:$JPCAP_HOME/jpcap/thirdParty/jars/dev-classes_net.ultrametrics-0.03.jar
CLASSPATH=$CLASSPATH:$JPCAP_HOME/jpcap/thirdParty/jars/fooware_CommandLine-1.0.jar
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIB_PCAP
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIB_JPCAP
export PATH CLASSPATH LD_LIBRARY_PATH

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