View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0008919 | CMake | CMake | public | 2009-04-21 15:40 | 2009-04-21 17:09 | ||||
Reporter | Daniel Richard G. | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0008919: FindJNI.cmake misses JAVA_{AWT,JVM}_LIBRARY on Win32 when JAVA_HOME is used instead of registry | ||||||||
Description | I have a Windows system in which the JDK is served up by a network drive. There are, then, none of the registry entries created by the standard Java installer; I have to use the JAVA_HOME environment variable to specify the location of the Java installation. FindJNI.cmake fails to find JAVA_AWT_LIBRARY and JAVA_JVM_LIBRARY (/path/to/jawt.lib and /path/to/jvm.lib, respectively), however, because these files are not installed in any of $ENV{JAVA_HOME}/jre/lib/i386 $ENV{JAVA_HOME}/jre/lib/amd64 $ENV{JAVA_HOME}/jre/lib/ppc (Note that FindJNI.cmake does successfully complete otherwise.) These libraries, in Windows installations of Java 1.5.0 and 1.6.0, are present in $ENV{JAVA_HOME}/lib The attached patch (against CVS) adds this line, below the aforementioned three. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | cmake-jni-win32-fix.patch [^] (518 bytes) 2009-04-21 15:40 [Show Content] | ||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0016123) Alex Neundorf (developer) 2009-04-21 17:09 |
Thanks, committed to HEAD. Alex |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-04-21 15:40 | Daniel Richard G. | New Issue | |
2009-04-21 15:40 | Daniel Richard G. | File Added: cmake-jni-win32-fix.patch | |
2009-04-21 17:07 | Alex Neundorf | Status | new => assigned |
2009-04-21 17:07 | Alex Neundorf | Assigned To | => Alex Neundorf |
2009-04-21 17:09 | Alex Neundorf | Note Added: 0016123 | |
2009-04-21 17:09 | Alex Neundorf | Status | assigned => closed |
2009-04-21 17:09 | Alex Neundorf | Resolution | open => fixed |
2009-08-12 22:53 | Philip Lowman | Relationship added | has duplicate 0009108 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |