0

when i use PacketCapture class in my project i got this error.please let me know the procedure fir solve this.

PacketCapture: loading native library jpcap.. Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\jpcap.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at net.sourceforge.jpcap.capture.PacketCapture.<clinit>(PacketCapture.java:119)
at VirtualWatch.addToolBarButtons(VirtualWatch.java:98)
at VirtualWatch.<init>(VirtualWatch.java:87)
at VirtualWatch.main(VirtualWatch.java:151)

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by masijade
0

Did you download and install the "jpcap" Java API on the machine in question, or did you simply copy the jarfile from another machine?

If the second, then do the first, of course.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.