Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D90B31761A for ; Wed, 18 Feb 2015 05:14:16 +0000 (UTC) Received: (qmail 16305 invoked by uid 500); 18 Feb 2015 05:14:12 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 16119 invoked by uid 500); 18 Feb 2015 05:14:11 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 15878 invoked by uid 99); 18 Feb 2015 05:14:11 -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 05:14:11 +0000 Date: Wed, 18 Feb 2015 05:14:11 +0000 (UTC) From: =?utf-8?Q?Tiago_St=C3=BCrmer_Daitx_=28JIRA=29?= To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Tiago St=C3=BCrmer Daitx created HADOOP-11610: -------------------------------------------- Summary: 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 The new JDK9 directory structure lacks a jre directory under jdk. Due to th= at 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-nor= mal-server-release/images/jdk/include, JAVA_INCLUDE_PATH2=3D/home/tdai$ x/jdk9-dev/build/linux-ppc64-normal-server-release/images/jdk/include/linux [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/h= adoop-common/target/native/CMakeFiles/CMakeOutput.log". -- This message was sent by Atlassian JIRA (v6.3.4#6332)