configure run in eclipse for Scala

后端 未结 14 1715
自闭症患者
自闭症患者 2021-01-30 16:03

I am a beginner in Scala. I installed Scala IDE in eclipse and now I want to run my application programme. It never shows \"run as Scala application\", instead it shows \"run

14条回答
  •  余生分开走
    2021-01-30 16:26

    Download from this link Scala IDE

    Restart Eclipse, create Scala Project, then create Scala Object and type this.

     package greeter
    
        object Hello {
            def main(args:Array[String]) { 
              println("Hello, World") 
            }   
        }
    

    Run as Scala Application

提交回复
热议问题