You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2014/10/13 19:10:33 UTC

[jira] [Resolved] (SPARK-1787) Build failure on JDK8 :: SBT fails to load build configuration file

     [ https://issues.apache.org/jira/browse/SPARK-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-1787.
------------------------------
    Resolution: Duplicate

FWIW SBT + Java 8 has worked fine for me on master for a long while, so assume this does not affect 1.1 or perhaps 1.0.

> Build failure on JDK8 :: SBT fails to load build configuration file
> -------------------------------------------------------------------
>
>                 Key: SPARK-1787
>                 URL: https://issues.apache.org/jira/browse/SPARK-1787
>             Project: Spark
>          Issue Type: New Feature
>          Components: Build
>    Affects Versions: 0.9.0
>         Environment: JDK8
> Scala 2.10.X
> SBT 0.12.X
>            Reporter: Richard Gomes
>            Priority: Minor
>
> SBT fails to build under JDK8.
> Please find steps to reproduce the error below:
> (j8s10)rgomes@terra:~/workspace/spark-0.9.1$ uname -a
> Linux terra 3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux
> (j8s10)rgomes@terra:~/workspace/spark-0.9.1$ java -version
> java version "1.8.0_05"
> Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
> (j8s10)rgomes@terra:~/workspace/spark-0.9.1$ scala -version
> Scala code runner version 2.10.3 -- Copyright 2002-2013, LAMP/EPFL
> (j8s10)rgomes@terra:~/workspace/spark-0.9.1$ sbt/sbt clean
> Launching sbt from sbt/sbt-launch-0.12.4.jar
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
> [info] Loading project definition from /home/rgomes/workspace/spark-0.9.1/project/project
> [info] Compiling 1 Scala source to /home/rgomes/workspace/spark-0.9.1/project/project/target/scala-2.9.2/sbt-0.12/classes...
> [error] error while loading CharSequence, class file '/opt/developer/jdk1.8.0_05/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
> [error] (bad constant pool tag 15 at byte 1501)
> [error] error while loading Comparator, class file '/opt/developer/jdk1.8.0_05/jre/lib/rt.jar(java/util/Comparator.class)' is broken
> [error] (bad constant pool tag 15 at byte 5003)
> [error] two errors found
> [error] (compile:compile) Compilation failed
> Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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