eclipse - java ee System.loadLibrary -


i have jersey restful service eclipse , need load jni library.

for normal java application, place *.dylib file in project root directory , following:

system.loadlibrary("facedetection"); 

here if source code of project is: /path/to/project/src/..., i'll put facedetection.dylib @ /path/to/project/facedetection.dylib.

however, in jersey (i'm not sure if jersey thing or java ee), if put same place, can't find library.

what i'm doing far manually place library in system's java library, not ideal , hard move around. there way place library under project's folder , load in restful service?


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -