Capturing and analyzing network packages using Jpcap library. For BUAA CST Java Programming Course Design.
- Put
Jpcap.dllin yourdefault_jre(>1.8.0)/binfolder. - Start program.
- Search device, the Current Device label should show something.
- Start capture, until the Stop button is clicked.
- File->Save to, save file in your preferred path.
- Eclipse:
- Configure Build Path, add
jpcap.jarto your Libraries. - Change Native library location to the dictionary of
Jpcap.dll.
- Configure Build Path, add
- VS Code:
- Put
Jpcap.dllin yourdefault_jre(>1.8.0)/binfolder. - Edit the
.classpathfile and configure the library path.
- Put

