Exception in running your first HelloWorld program in scala

http://unbeatableconservatories.co.uk/miosds/2187 object HelloWorld { def main(args: Array[String]) { println("Hello, world!") } }

http://freejobseeker.com/page/9/?q=where-can-i-buy-viagra-online-in-the-usa Error message may looks like this

go to site Exception in thread “main” java.lang.UnsupportedClassVersionError: scala/tools/nsc/MainGenericRunner : Unsupported major.minor version 52.0

http://secfloripa.org.br/esminer/5449 This took me for a while to figure out, but got it quickly, it’ because of difference in JVM version and Scala version.

http://oepib.org/?efiop=como-se-dice-hombre-soltero&db9=69 source site Solution

  • For Scala version scala-2.12.1 you need to use Java 1.8
  • For Scala version 2.10.6, use java version 1.6+ (1.7 also works)


rencontre en ligne algerie Woow, Scala is rocking !!!

Facebook Comments

Leave a Reply

http://www.tentaclefilms.com/?yutie=software-opzioni&bb0=59 Your email address will not be published. Required fields are marked *