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 "Andras Bokor (JIRA)" <ji...@apache.org> on 2017/05/17 08:41:04 UTC

[jira] [Commented] (HADOOP-11608) hadoop-annotations build fails on JDK9 (lacking tools.jar)

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

Andras Bokor commented on HADOOP-11608:
---------------------------------------

The minimum Maven version is 3.3 since HADOOP-14285.

> hadoop-annotations build fails on JDK9 (lacking tools.jar)
> ----------------------------------------------------------
>
>                 Key: HADOOP-11608
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11608
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.6.0
>         Environment: Any environment running JDK9
>            Reporter: Tiago Stürmer Daitx
>            Priority: Minor
>              Labels: build-failure, jdk9, openjdk, pom.xml
>         Attachments: hadoop-annotations-jdk9.patch
>
>
> The os.linux profile on hadoop-common-project/hadoop-annotations is activate even when running JDK9 but [due to project Jigsaw the file tools.jar has been removed|http://mreinhold.org/blog/jigsaw-modular-images] (excerpt below):
> "The internal files rt.jar, tools.jar, and dt.jar have been removed. The content of these files is now stored in a more efficient format in implementation-private files in the lib directory. Class and resource files previously in tools.jar and dt.jar are now always visible via the bootstrap or application class loaders in a JDK image."
> [Unfortunately only Maven 3.2.2+ can properly support multiple AND activation conditions|http://jira.codehaus.org/browse/MNG-4565], previous versions deals with multiple condition as an OR rule.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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