Ask Your Question

abelkun's profile - activity

2013-07-03 23:48:35 -0600 asked a question after export jar java, no opencv_java245 in java.library.path

I can debug in eclipse:

I print

System.out.println( System.getProperty("java.library.path"));

Output is :

/Users/solitarylord/Documents/Programming/opencv-2.4.5/build/lib

But when I export in the jar I cannot run. The error in console is like these:

/Users/solitarylord/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java245 in java.library.path

How to load library?

2013-07-02 02:14:33 -0600 received badge  Editor (source)
2013-07-02 01:54:23 -0600 asked a question Mac opencv 2.4.6 java exception

objc[46442]: Class CVWindow is implemented in both cv2.so and build/lib/libopencv_java246.dylib. One of the two will be used. Which one is undefined. I just add the jar from bin and native library path build/lib... I cannot find bin/libopencv_java244.so mentioned in introduction tutorial.