I installed opencv using homebrew. There's no jar file. Can't seem to find the jar file. Tried downloading again - opencv 2.4.3, 2.4.7, 2.4.8. again tried to build but getting errors in the middle of building jar file. I'm trying to make a OpenCV Java project in Netbeans. I tried to look for jar file. Since it's not there, I build the Opencv but getting error.
Trying this to build OpenCv jar:
$ cd opencv-2.4.7
$ mkdir build
$ cd build/
$ cmake -G "Unix Makefiles" -D CMAKE_CXX_COMPILER=/usr/bin/g++ -D CMAKE_C_COMPILER=/usr/bin/gcc -D WITH_CUDA=ON ..
$make -j4
$ make install
I'm on MacOSX 10.8.5. Any help would be greatly appreciated.
The error I'm getting is :
BUILD FAILED
/Users/ih/Downloads/opencv-2.4.7/build/build.xml:9: Class not
found: javac1.8
Total time: 0 seconds make[2]: *** [bin/opencv-247.jar] Error 1
make[1]: *** [modules/java/CMakeFiles/opencv_java.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs.... Linking CXX shared
library ../../lib/cv2.so [ 89%] Built target opencv_python make: ***
[all] Error 2
Just to confirm I do have javac installed.