Skip to content

dotc fails to find shared backend on first run #1328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DarkDimius opened this issue Jun 22, 2016 · 0 comments
Closed

dotc fails to find shared backend on first run #1328

DarkDimius opened this issue Jun 22, 2016 · 0 comments

Comments

@DarkDimius
Copy link
Contributor

Reported by @henricook

dotty git:(master) ./bin/dotc tests/pos/HelloWorld.scala
find: ‘/home/henri/.coursier/cache’: No such file or directory
The script is going to build the required jar files
Building dotty-interfaces...done
Building dotty...done
Building tests...done
To use this script please set
SCALA_LIBRARY_JAR to point to scala-library-2.11.5.jar (currently /home/henri/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.5.jar)
SCALA_REFLECT_JAR to point to scala-reflect-2.11.5.jar (currently /home/henri/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.5.jar)
SCALA_COMPILER_JAR to point to scala-compiler-2.11.5.jar with bcode patches (currently )
JLINE_JAR to point to jline-2.12.jar (currently /home/henri/.ivy2/cache/jline/jline/jars/jline-2.12.jar)
SBT_INTERFACE_JAR to point to interface-0.13.11.jar (currently /home/henri/.ivy2/cache/org.scala-sbt/interface/jars/interface-0.13.11.jar)
Exception in thread "main" java.lang.NoClassDefFoundError: scala/tools/nsc/backend/jvm/BCodeSyncAndTry
at dotty.tools.backend.jvm.GenBCode.run(GenBCode.scala:48)
at dotty.tools.dotc.core.Phases$Phase
at dotty.tools.dotc.core.Phases$Phase
at scala.collection.immutable.List.map(List.scala:273)
at dotty.tools.dotc.core.Phases$Phase$class.runOn(Phases.scala:274)
at dotty.tools.backend.jvm.GenBCode.runOn(GenBCode.scala:39)
...
dotty git:(master) ./bin/dotc tests/pos/HelloWorld.scala
➜ dotty git:(master) 

Note those lines:

SCALA_COMPILER_JAR to point to scala-compiler-2.11.5.jar with bcode patches (currently )
Exception in thread "main" java.lang.NoClassDefFoundError: scala/tools/nsc/backend/jvm/BCodeSyncAndTry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant