Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/15311
Change subject: [cmake] enable building with Java 11 ...................................................................... [cmake] enable building with Java 11 find_package(Java) in cmake 3.9.0 requires javah executable to be present: cmake of that version does not know that 'javah' has been deprecated since Java 9 and replaced with 'javac -h'. So, as of now cmake fails if building with Java 11 JDK. One option would be upgrading cmake: newer version (at least 3.16.4) knows about the deprecation of javah with newer Java versions and process find_package(Java) accordingly. However, while building C++ components and running corresponding tests, only run-time components are needed. So, it's possible to get away by replacing find_package(Java REQUIRED) with find_package(Java 1.7 REQUIRED COMPONENTS Runtime) to successfully build Kudu with Java 11. Change-Id: I45d52665db0ce6394c976217f77b30b772a5de9e --- M CMakeLists.txt 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/11/15311/1 -- To view, visit http://gerrit.cloudera.org:8080/15311 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I45d52665db0ce6394c976217f77b30b772a5de9e Gerrit-Change-Number: 15311 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
