Stuck at "Hello World" with IntelliJ IDEA 9.0.1 for Scala

Posted by Alex R on Stack Overflow See other posts from Stack Overflow or by Alex R
Published on 2010-04-19T05:12:09Z Indexed on 2010/04/19 5:13 UTC
Read the original article Hit count: 395

I've been using Eclipse since 2.x and and IDEs in general for over 20 years (since Turbo Pascal and Turbo C in the late '80s!).

(that preamble is supposed to imply, "I'm not an idiot" ... LOL :-] )

I'm trying to use the debugger in IntelliJ 9.0.1. I've resigned myself to an old standby:

class hello {
  def main(a: Array[String]) = println("got args: " + a)
}

Alas, I'm unable to get even this simple Scala example to run. I'd like to eventually put a breakpoint in it, but for now just running it would be great. I have Java 1.6u20 and the Scala plug-in 0.3.473 (January 2010). The error below summarizes my experience:

alt text

What possibly could I be doing wrong?

Thanks

© Stack Overflow or respective owner

Related posts about scala

Related posts about scala-2.7.7