Ask Your Question
0

OpenCV 2.4.11 Linux Ubuntu - Caused by: java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path

asked 2016-07-09 06:28:38 -0600

alexanoid gravatar image

I'm trying to run my application based on OpenCV 2.4.11 and Lire Java libraries under Linux Ubuntu.

During start up I'm faced a following exception:

Caused by: java.lang.UnsatisfiedLinkError: no opencv_java2411 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1122) at net.semanticmetadata.lire.imageanalysis.features.local.opencvfeatures.CvSurfExtractor.init(CvSurfExtractor.java:92) at net.semanticmetadata.lire.imageanalysis.features.local.opencvfeatures.CvSurfExtractor.<init>(CvSurfExtractor.java:78) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

Where this library can be found ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-07-20 03:14:34 -0600

tacocat88 gravatar image

Take note of where the open cv_javax.x.x.dll is in your open cv installation folder. Usually in opencv, build, Java,x64. In your project properties set -djava library path to this file.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-07-09 06:27:26 -0600

Seen: 1,939 times

Last updated: Jul 20 '16