First time here? Check out the FAQ!

Ask Your Question
0

Error :no opencv_java246 in java.library.path

asked Oct 9 '13

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

Preview: (hide)

1 answer

Sort by » oldest newest most voted
3

answered Oct 10 '13

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.

Preview: (hide)

Comments

Thank you very very much!!:D

Ioanna gravatar imageIoanna (Oct 10 '13)edit

Thank you!

Joseph118 gravatar imageJoseph118 (Jan 30 '14)edit

Tks so much :D

ZeLda gravatar imageZeLda (Mar 8 '14)edit

Question Tools

Stats

Asked: Oct 9 '13

Seen: 10,888 times

Last updated: Oct 10 '13