Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AED6617775 for ; Wed, 18 Feb 2015 06:19:26 +0000 (UTC) Received: (qmail 19260 invoked by uid 500); 18 Feb 2015 06:19:12 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 19199 invoked by uid 500); 18 Feb 2015 06:19:12 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 19091 invoked by uid 99); 18 Feb 2015 06:19:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2015 06:19:12 +0000 Date: Wed, 18 Feb 2015 06:19:12 +0000 (UTC) From: =?utf-8?Q?Tiago_St=C3=BCrmer_Daitx_=28JIRA=29?= To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11610) hadoop-common build fails on JDK9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-11610?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14= 325476#comment-14325476 ]=20 Tiago St=C3=BCrmer Daitx commented on HADOOP-11610: ---------------------------------------------- CMake also needs a patched FindJNI.cmake to work. [I opened a bug to track = that issue|http://public.kitware.com/Bug/view.php?id=3D15408]. > hadoop-common build fails on JDK9 > --------------------------------- > > Key: HADOOP-11610 > URL: https://issues.apache.org/jira/browse/HADOOP-11610 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 2.6.0 > Environment: JDK9 > Reporter: Tiago St=C3=BCrmer Daitx > Priority: Minor > Labels: build-failure, common, jdk9 > Attachments: hadoop-common_jdk9-support.patch > > > The new JDK9 directory structure lacks a jre directory under jdk. Due to = that hadoop-common fails to build: > Error output: > [exec] -- The C compiler identification is GNU 4.8.2 > [exec] -- The CXX compiler identification is GNU 4.8.2 > [exec] -- Check for working C compiler: /usr/bin/cc > [exec] -- Check for working C compiler: /usr/bin/cc -- works > [exec] -- Detecting C compiler ABI info > [exec] -- Detecting C compiler ABI info - done > [exec] -- Check for working CXX compiler: /usr/bin/c++ > [exec] -- Check for working CXX compiler: /usr/bin/c++ -- works > [exec] -- Detecting CXX compiler ABI info > [exec] JAVA_HOME=3D, JAVA_JVM_LIBRARY=3DJAVA_JVM_LIBRARY-NOTFOUND > [exec] JAVA_INCLUDE_PATH=3D/home/tdaitx/jdk9-dev/build/linux-ppc64-n= ormal-server-release/images/jdk/include, JAVA_INCLUDE_PATH2=3D/home/tdai$ > x/jdk9-dev/build/linux-ppc64-normal-server-release/images/jdk/include/lin= ux > [exec] CMake Error at JNIFlags.cmake:120 (MESSAGE): > [exec] Failed to find a viable JVM installation under JAVA_HOME. > [exec] Call Stack (most recent call first): > [exec] CMakeLists.txt:24 (include) > [exec]=20 > [exec]=20 > [exec] -- 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". -- This message was sent by Atlassian JIRA (v6.3.4#6332)