Wednesday, August 10, 2011

JAVACV: no jniopencv_core in java.library.path

To solve it, adding following lines to ~/.bashrc:
#For JavaCv
export CLASSPATH=$CLASSPATH:~/Src/javacv/javacv-bin/javacpp.jar:~/Src/javacv/javacv-bin/javacv.jar:~/Src/javacv/javacv-bin/javacv-linux-x86.jar

The key solution is the javacv-linux-x86.jar. If you are using 64bits windows, then you have to choose javacv-windows-x86_64.jar.

1 comment:

Marek Bar said...


I saw that you're working with JavaCV - me too.
Do you know how to set up JavaCV to work on windows(I know about paths and I did), I can't figure out how but I've got working it on mac and linux.