Missing file in java.library.path

后端 未结 1 2065
长情又很酷
长情又很酷 2021-01-25 08:27

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
         


        
相关标签:
1条回答
  • 2021-01-25 08:32

    add this to VM option of the projects property: -Djava.library.path=/Users/olivierjanssens/Development/Kinect/OpenNI/Lib/

    this is where the dylib file

    0 讨论(0)
提交回复
热议问题