title: how can I use jpcap library in my project?
body: <p>I am using Netbeans 7, and I have 32 bit JDK version 1.7.0.40. I want to use jpcap library to analyze incoming packets. </p>
  
  <p>I do following to be able to use jpcap.</p>
  
  <pre><code>I added "jpcap.jar" into my project's library.
  I copied "jpcap.dll" into my JRE/bin
  I copied "jpcap.jar" into my JDK/jre/lib/ext
  I copied "jpcap.jar" into my JRE/lib/ext
  </code></pre>
  
  <p>However, I  get the exception below:</p>
  
  <pre><code>Exception in thread "main" java.lang.UnsatisfiedLinkError: jpcap.JpcapCaptor.getDeviceList()[Ljpcap/NetworkInterface;
  at jpcap.JpcapCaptor.getDeviceList(Native Method)
  at src.JpcapAnalyzer.&lt;init&gt;(JpcapAnalyzer.java:19)
  at src.Main.main(Main.java:31)
  </code></pre>
  
  <p>Java Result: 1</p>
  
  <p>I appreciate for any recommendations.</p>
  
  <p><em><strong>Edit :</em></strong> 
  After 2 weeks posting this question, I received no answers. Then I want to share my experience with the community.</p>
  
  <p>I tried another library,<strong>jnetpcap</strong>, which can be downloaded at <a href="https://sourceforge.net/projects/jnetpcap/" rel="nofollow">https://sourceforge.net/projects/jnetpcap/</a>. I easily implemented it. You can use this library both in 32 bit and 64 bit OS and JDK.</p>