M Mahdi Chamseddine M Mahdi Chamseddine - 24 days ago 15
Java Question

Not finding opencv jar after installing with homebrew

After installing opencv 2.4.8.2 with homebrew, I can't seem to find the jar file in /usr/local/Cellar/opencv/2.4.8.2/share/OpenCV

I'm using Mavericks, any ideas?

Answer

Probably you forgot to specify --with-java parameter

brew tap homebrew/science
brew install opencv --with-java

After compiling a jar file is in the path

/usr/local/Cellar/opencv/2.4.9/share/OpenCV/java/opencv-249.jar
Comments