title: Missing file in java.library.path
body: <p>While compiling a demo from openni i stumbled across this error:</p>
  
  <pre><code>Exception in thread "main" java.lang.UnsatisfiedLinkError: no OpenNI.jni 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 org.OpenNI.NativeMethods.&lt;clinit&gt;(NativeMethods.java:34)
  at org.OpenNI.Context.initFromXmlEx(Context.java:317)
  at org.OpenNI.Context.createFromXmlFile(Context.java:36)
  at kitouch.UserTracker.&lt;init&gt;(UserTracker.java:113)
  at kitouch.UserTrackerApplication.main(UserTrackerApplication.java:46)
  Java Result: 1
  BUILD SUCCESSFUL (total time: 4 seconds)
  </code></pre>
  
  <p>I'm doing this on my mac . And my best guess is that this file <code>libOpenNI.jni.dylib</code> is not in my java.library.path</p>
  
  <p>My question now is: Is this guess right, and how do i add <code>libOpenNI.jni.dylib</code> to my java.library.path in netbeans.</p>
  
  <p>Thx in advance</p>