diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index eb6523b4a..8f6f134a7 100644 --- a/Modules/FindJNI.cmake +++ b/Modules/FindJNI.cmake @@ -9,7 +9,7 @@ # FIND_LIBRARY(JAVA_AWT_LIBRARY jawt - PATHS /usr/lib /usr/local/lib + PATHS /usr/lib /usr/local/lib /usr/lib/java/jre/lib/i386 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/lib" ) @@ -17,6 +17,7 @@ FIND_LIBRARY(JAVA_AWT_LIBRARY jawt FIND_PATH(JAVA_INCLUDE_PATH jni.h /usr/include /usr/local/include + /usr/lib/java/include "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/include" )