Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Build OpenCV for Java on Ubuntu 12.10

I try to compile OpenCV on Ubuntu 12.10 I followed the steps in the guide: http://docs.opencv.org/2.4.4-beta/doc/tutorials/introduction/desktop_java/java_dev_intro.html

jdk-7-oracle installed but:

-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)

....

-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib nonfree photo legacy gpu python stitching ts videostab
-- Disabled: world
-- Disabled by dependency:-
-- Unavailable: androidcamera java ocl

....
-- Java:
-- ant: /usr/bin/ant (ver 1.8.2)
-- JNI: NO
-- Java tests: YES

But i need java generation