- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
maven-scala-plugin: scala:console does not work
Wed, 2010-12-22, 10:08
I'm thying maven-scala-plugin and it seems to work except mvn
scala:console. It allways fails:
Welcome to Scala version 2.8.1.final (Java HotSpot(TM) 64-Bit Server
VM, Java 1.6.0_23).
Type in expressions to have them evaluated.
Type :help for more information.
Failed to initialize compiler: object scala not found.
** Note that as of 2.8 scala does not assume use of the java
** For the old behavior pass -usejavacp to scala, or if using a
** object programatically, settings.usejavacp.value = true.
I've figured out (using -X) that there is missing JVM argument
-Dscala.home=/usr/share/scala, but I don't know how to add it.
Do you have an idea?
Vít Šesták 'v6ak'