Around the community I see many users having problem to build Opencv for Java support on GNU/Linux CentOS. In my experience the issues was related to the version of cmake and ffmpeg.
I want to share a quick tutorial I've just posted. It shows how to build OpenCV for Java support on a CentOS 6.5 installation. I hope it will useful!
http://www.giuseppeurso.eu/en/how-to-compile-opencv-on-centos-with-java-support/
Giuseppe