Jpcap cannot run without the underlying native capture drivers:
Download and install WinPcap or Npcap (recommended for Windows 10/11). download jpcap.jar
Grab raw packets live from a network interface. Jpcap cannot run without the underlying native capture
Automatically identifies and parses Ethernet, IPv4, IPv6, TCP, UDP, and ICMP packets. sudo apt-get install libpcap-dev ).
jpcap/jpcap: network packet capture library for ... - GitHub
Ensure libpcap is installed. Use your package manager (e.g., sudo apt-get install libpcap-dev ).