title: javaCV in NETBEANS on windowsXP platform
body: <p>Dear friends...
             Here  i am trying to use openCV in java using NETBEANS(windows XP).., For that i did the following ..</p>
  
  <p>[B]1-Install OpenCV-2.2.0-win32-vs2010.exe in C:\openCV
  2-Then i put the javaCV and JNA in the library (System path.)
  3-The i use thae following code in the netbeans[/B]</p>
  
  <p>[CODE]</p>
  
  <p>package samplejavacv;</p>
  
  <p>import java.io.<em>;
  import static com.googlecode.javacv.jna.cxcore.</em>;
  import static com.googlecode.javacv.jna.cv.<em>;
  import static com.googlecode.javacv.jna.highgui.</em>;</p>
  
  <p>public class sample {</p>
  
  <pre><code>public static void main(String[] args)throws Exception {
      try {
  
          IplImage Iimg=cvLoadImage("C:\\Documents and Settings\\All                                                               Users\\Documents\\My Pictures\\Sample Pictures\\Sunset.jpg");
  
      }
      catch(Exception f) {
  
          System.out.print(f.getMessage());
      }
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>[/CODE]</p>
  
  <p>4- But i got the following exception </p>
  
  <p>[CODE]</p>
  
  <p>Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'cxcore': The specified module could not be found.</p>
  
  <pre><code>    at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:163)
      at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)
      at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:199)
      at com.googlecode.javacv.jna.Loader.load(Loader.java:44)
      at com.googlecode.javacv.jna.cxcore.&lt;clinit&gt;(cxcore.java:113)
      at com.googlecode.javacv.jna.highgui.&lt;clinit&gt;(highgui.java:73)
      at samplejavacv.sample.main(sample.java:49)
  </code></pre>
  
  <p>Java Result: 1</p>
  
  <p>[/CODE]</p>
  
  <p>5-Then what should i do ....please help
  6- Remember some site mention that it need to build the openCV , if it need how can i do that please help...</p>
  
  <p>Anyway thanks in advance  .....
  Happynew year</p>