Can't find opencv-249.jar file
Recently downloaded and installed OpenCV 2.4.9 on Ubuntu 14 (decompress, cmake, make, install). Now I'm following "Using OpenCV Java with Eclipse" tutorial http://docs.opencv.org/doc/tutorials/introduction/java_eclipse/java_eclipse.html
It refers to C:\OpenCV-2.4.6\build\java\opencv-246.jar (of course, this example is about opencv version 2.4.6 on Windows), but I can't find the jar file in the drive, not even the "build" subdir in the uncompressed directory.
Any hint? Thank you
check the cmake output again. it should look similar to this(sorry, windows again):
you will need ant installed before
Thanks berak, you gave me the starting point to investigate. It turned out that it's needed to have JAVA_HOME environmental variable set (and pointing to jdk home directory) before running cmake. After "export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64" (in my case, of course), cmake generated both: build/bin/opencv-249.jar build/lib/libopencv_java249.so
My only remaining issue is that "make install" didn't copy these files to any place (like usr/local/lib or else), so I can't remove the original opencv directory.
I think I'll post a new question about it. Thank you very much.