[ https://issues.apache.org/jira/browse/SPARK-21075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048384#comment-16048384 ]
Dongjoon Hyun commented on SPARK-21075: --------------------------------------- Please do `jps` and check whether `Zinc` is running or now. If Zinc is running, please kill it first. As [~srowen] said, this works for the others including me. I also tested that RC4 on CentOS and Mac with JDK8. > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org