Refer to
http://docs.opencv.org/doc/tutorials/introduction/java_eclipse/java_eclipse.html