diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2003-10-16 11:05:04 -0400 |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2003-10-16 11:05:04 -0400 |
commit | 296e73180844791bf1a8ec51dad489625ca8c9f3 (patch) | |
tree | fc24b1bcd18952596ac4b686b14b5c6e0a846a3d /Modules/FindJava.cmake | |
parent | 4d2ca08bc7a91fcc207ec481323796acdf68eec6 (diff) | |
download | cmake-296e73180844791bf1a8ec51dad489625ca8c9f3.tar.gz |
FIX: for Windows users, it seems logical to favor native win32 installation before Cygwin ones. Otherwise you can end up with bad mixes (part of the java tools were picked from the SDK, part from Cygwin)
Diffstat (limited to 'Modules/FindJava.cmake')
-rw-r--r-- | Modules/FindJava.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake index baf6b30da2..25ab1e1d29 100644 --- a/Modules/FindJava.cmake +++ b/Modules/FindJava.cmake @@ -9,13 +9,13 @@ # SET(JAVA_BIN_PATH + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/bin" /usr/bin /usr/lib/java/bin /usr/share/java/bin /usr/local/bin /usr/local/java/bin - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/bin" - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/bin" ) FIND_PROGRAM(JAVA_RUNTIME NAMES java |