You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2018/12/25 07:23:00 UTC

[jira] [Commented] (HADOOP-11610) hadoop-common build fails on JDK9

    [ https://issues.apache.org/jira/browse/HADOOP-11610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728604#comment-16728604 ] 

Akira Ajisaka commented on HADOOP-11610:
----------------------------------------

Is this issue still occurs in JDK11? JDK9 is EoL, so I'd like to close this JIRA if this issue occurs only in JDK9. Thanks.

> 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ürmer 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=, JAVA_JVM_LIBRARY=JAVA_JVM_LIBRARY-NOTFOUND
>      [exec] JAVA_INCLUDE_PATH=/home/tdaitx/jdk9-dev/build/linux-ppc64-normal-server-release/images/jdk/include, JAVA_INCLUDE_PATH2=/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] 
>      [exec] 
>      [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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org