Hi,
I have several versions of java jdk on my system. I usually tell which one
to use with the Java_Home environment variable. FindJava.cmake fails to
give priority to that.
I've changed FindJava.cmake
from
set(_JAVA_HINTS
"[HKEY...]/bin"
[...]
$ENV{JAVA_HOME}/bin
)
to
set(_JAVA_HINTS
$ENV{JAVA_HOME}/bin
"[HKEY...]/bin"
[...]
)
and now it works.
Is that a bug?
Pol
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake