2009-10-21 06:41:41 UTC
Try these commands:
export LDLIBRARYPATH=/path/to/libpcap.so
CLASSPATH=$CLASSPATH:/path/to/net.sourceforge.jpcap-0.01.16.jar
java -cp $CLASSPATH yourprog
If that works, use ldconfig to make lpbjpcap globally available on your system - that's generally better than using LDLIBRARYPATH.
BTW that's "LDunderscoreLIBRARYunderscorePATH (this editor seems to treat the underscore as markup).
I have all this working with Java4, Java5 and Java6, so it does work!
If you leave your email address in the next message, I'll contact you directly.