Thanks your suggestion, seems that scala 2.12.4 support jdk9
Scala 2.12.4<https://github.com/scala/scala/releases/tag/v2.12.4> is now available. Our benchmarks<https://scala-ci.typesafe.com/grafana/dashboard/db/scala-benchmark?var-branch=2.12.x&from=1501580691158&to=1507711932006> show a further reduction in compile times since 2.12.3 of 5-10%. Improved Java 9 friendliness, with more to come! Best Regards Kelly Zhang/Zhang,Liyun From: Reynold Xin [mailto:r...@databricks.com] Sent: Friday, October 27, 2017 10:26 AM To: Zhang, Liyun <liyun.zh...@intel.com>; dev@spark.apache.org; u...@spark.apache.org Subject: Re: Anyone knows how to build and spark on jdk9? It probably depends on the Scala version we use in Spark supporting Java 9 first. On Thu, Oct 26, 2017 at 7:22 PM Zhang, Liyun <liyun.zh...@intel.com<mailto:liyun.zh...@intel.com>> wrote: Hi all: 1. I want to build spark on jdk9 and test it with Hadoop on jdk9 env. I search for jiras related to JDK9. I only found SPARK-13278<https://issues.apache.org/jira/browse/SPARK-13278>. This means now spark can build or run successfully on JDK9 ? Best Regards Kelly Zhang/Zhang,Liyun