You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "吴志龙 (JIRA)" <ji...@apache.org> on 2017/06/13 10:22:00 UTC

[jira] [Commented] (SPARK-21075) spark 2.2 mvn [error] javac: invalid source release: 1.8

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

吴志龙 commented on SPARK-21075:
-----------------------------

I was using it:
java version "1.8.0_131"
Apache Maven 3.3.9

The problem that appears

> spark 2.2 mvn [error] javac: invalid source release: 1.8
> --------------------------------------------------------
>
>                 Key: SPARK-21075
>                 URL: https://issues.apache.org/jira/browse/SPARK-21075
>             Project: Spark
>          Issue Type: Question
>          Components: Build
>    Affects Versions: 2.2.0
>         Environment: java version "1.8.0_131"
> Apache Maven 3.3.9
> linux 
>            Reporter: 吴志龙
>
> cd $spark_home/spark-2.2.0-rc4
> ./dev/make-distribution.sh --name custom-spark --tgz -Psparkr -Phadoop-2.6 -Phive -Phive-thriftserver -Pmesos -Pyarn
>  
> The following exception occurs:
> [error] javac: invalid source release: 1.8
> [error] Usage: javac <options> <source files>
> [error] use -help for a list of possible options
> [error] Compile failed at Jun 13, 2017 4:37:31 PM [0.979s]
> [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (default-cli) on project spark-tags_2.11: Execution default-cli of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed. CompileFailed -> [Help 1]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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