While trying to get pcap4j working on my Apple M2, I noticed that pcap4j-core depended on an older version of jna:
+--- org.pcap4j:pcap4j-core:1.8.2
| +--- net.java.dev.jna:jna:5.3.1
which only supported the Intel Core (X86). Once I over rode with the a newer version: net.java.dev.jna:jna:5.15.0, pcap4j started working on the Apple M2.
While trying to get pcap4j working on my Apple M2, I noticed that pcap4j-core depended on an older version of jna:
which only supported the Intel Core (X86). Once I over rode with the a newer version: net.java.dev.jna:jna:5.15.0, pcap4j started working on the Apple M2.