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)

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.

just now installation was done,but i got the same problem

Then you're going to have ask at the site where you got jpcap from.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.