Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't build opencv2.4.4 with java support [on Ubuntu 12.04]

Hello, Im trying to build OpenCV-2.4.4 to make java aplications on linux (ubuntu).

I follow this tutorial but CMake never find java. When I type in console (as root)

cmake -DBUILD_SHARED_LIBS=OFF ..

I get this:

image descriptionhttp://answers.opencv.org/upfiles/13628489826011917.png

As you can see, java is not included in the list of modules to be build.

I have checked java in my system (with update-alternatives --config java), and it seems to be ok (I have installed both, jre and jdk):

image description

Any help will be more than wellcome. And please, excuse my english. Thanks!