Ask Your Question
0

Error :no opencv_java246 in java.library.path

asked 2013-10-09 14:05:21 -0600

Ioanna gravatar image

I am following this http://docs.opencv.org/doc/tutorials/introduction/desktop_java/java_dev_intro.html to install openCv for java. I am running the example according to this link.

The following error appear.

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java246 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:845) at java.lang.System.loadLibrary(System.java:1084) at openCvHello.main(openCvHello.java:9) I am trying to solve it 5 days ago. Please help me as soon as posible

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2013-10-10 07:17:41 -0600

gaardbo gravatar image

Hi, Had the same problem myself. It turned out that I entered the path in "native library connection" incorrectly. Note that there are two directories called x86 / x64. Both in build\java\x64 and in build\x64. You want the first one (build\java\x64). This is where the the opencv_java246.dll is located. Make sure that you entered the correct path in Native library location.

edit flag offensive delete link more

Comments

Thank you very very much!!:D

Ioanna gravatar imageIoanna ( 2013-10-10 14:06:34 -0600 )edit

Thank you!

Joseph118 gravatar imageJoseph118 ( 2014-01-30 04:39:57 -0600 )edit

Tks so much :D

ZeLda gravatar imageZeLda ( 2014-03-08 04:51:59 -0600 )edit

Question Tools

Stats

Asked: 2013-10-09 14:05:21 -0600

Seen: 10,764 times

Last updated: Oct 10 '13