The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15408
======================================================================
Reported By: Tiago Stürmer Daitx
Assigned To:
======================================================================
Project: CMake
Issue ID: 15408
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-02-18 01:12 EST
Last Modified: 2015-02-18 01:12 EST
======================================================================
Summary: FindJNI missing JAVA_AWT_LIBRARY on JDK9 as
jdk/lib/<arch> is not included in JAVA_AWT_LIBRARY_DIRECTORIES
Description:
JDK9's directory structure changes and no jdk/jre exists. The right arch lib
path is now jdk/lib/<arch> (instead of jdk/jre/lib/<arch>).
CMake error when building hadoop-common:
[exec] CMake Error at
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
[exec] Could NOT find JNI (missing: JAVA_AWT_LIBRARY)
[exec] Call Stack (most recent call first):
[exec]
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315
(_FPHSA_FA-- Detecting CXX compiler ABI info - done
[exec] -- Configuring incomplete, errors occurred!
[exec] See also
"/home/tdaitx/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/target/native/CMakeFiles/CMakeOutput.log".
[exec] ILURE_MESSAGE)
[exec] /usr/share/cmake-2.8/Modules/FindJNI.cmake:252
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
[exec] CMakeLists.txt:103 (find_p
[exec] ackage)
Steps to Reproduce:
1. Build JDK9
2. Compile hadoop-common-project/hadoop-common
Additional Information:
hadoop-common has its own bug and might require a patch, see
https://issues.apache.org/jira/browse/HADOOP-11610
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-02-18 01:12 Tiago Stürmer DaitxNew Issue
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers