jpcap is a set of Java classes which provide an interface and system for network packet capture. A protocol library and tool for visualizing network traffic is included.
jpcap utilizes libpcap, a widely deployed system library for packet capture.
Thanks for Jpcap, it's excellent!
A bug stopped me. /bugs/34/
very easy to use