to build MODJAVA_VER=1.6+ ports, and CMake should do the same. Otherwise we could, e.g., pick up co-installed JDK 1.7, start build using it, and while build process goes, JDK 1.7 may disappear... Discovered while working on OpenCV 2.4, which contains Java bindings. okay dcoppa@