title: OpenCV Classpath in Netbeans
body: <p>i just started working with JavaCV under MacOSX. I compiled OpenCV with CMake from the latest source and put the path where the libraries are into the <code>-Djava.library.path=\path\to\libraries</code> JVM Argument and added the JavaCV Libraries in my Project Settings. I also tried several other Variation of the Classpath. But when i launch an easy Project to just grab one image from my webcam i get following error:</p>
  
  <pre><code>Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: no jnivideoInputLib in java.library.path
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
      at java.lang.Runtime.loadLibrary0(Runtime.java:823)
      at java.lang.System.loadLibrary(System.java:1045)
      at com.googlecode.javacpp.Loader.load(Loader.java:358)
      at com.googlecode.javacpp.Loader.load(Loader.java:285)
      at com.googlecode.javacv.cpp.videoInputLib.&lt;clinit&gt;(videoInputLib.java:80)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:169)
      at com.googlecode.javacpp.Loader.load(Loader.java:305)
      at com.googlecode.javacpp.Loader.load(Loader.java:285)
      at com.googlecode.javacv.cpp.videoInputLib$videoInput.&lt;clinit&gt;(videoInputLib.java:192)
      at com.googlecode.javacv.VideoInputFrameGrabber.start(VideoInputFrameGrabber.java:89)
      at webcampong.Grabber.run(Grabber.java:35)
      at java.lang.Thread.run(Thread.java:680)
  </code></pre>