While compiling a demo from openni i stumbled across this error:
Exception in thread \"main\" java.lang.UnsatisfiedLinkError: no OpenNI.jni in java.library.path
add this to VM option of the projects property: -Djava.library.path=/Users/olivierjanssens/Development/Kinect/OpenNI/Lib/
this is where the dylib file