Scala SBT throws Nonzero exit code returned from runner: 1

1,468 views
Skip to first unread message

Raj

unread,
Jan 17, 2012, 4:01:37 AM1/17/12
to simple-build-tool
i am using latest SBT tool for my scala code running on WindowsXP with
Java 1.6. Scala version 2.9

i am trying to do compile, test, run tasks

when i do this i am getting following error

[debug] Initially invalidated: Set()
[error] Could not create the Java virtual machine.
java.lang.RuntimeException: Nonzero exit code returned from runner: 1
at scala.sys.package$.error(package.scala:27)
[error] {file:/D:/TestProject/ScalaFX/scalafx/}default-c3c131/
compile:run: Nonzero exit code returned from runner: 1

my sbt batch file has

@echo off
java -Xms512m -Xmx1024M -jar sbt-launch.jar

anyone suggest me a solution ?

Jason Zaugg

unread,
Jan 20, 2012, 8:59:42 AM1/20/12
to simple-b...@googlegroups.com
Do you get this error with just 'compile', or only with 'test' or 'run'?

Try `last run` or 'last compile' to see the full log of the previous execution of those tasks.

-jason
Reply all
Reply to author
Forward
0 new messages