`

scala & eclipse 安装插件

阅读更多

 

1、eclipse 版本  Eclipse 4.3 (Kepler).

2、插件地址:http://download.scala-ide.org/sdk/lithium/e38/scala211/dev/site;总地址===>http://scala-ide.org/download/current.html;可以离线的方式下载zipfile包,将features和plugins两个文件夹中的文件全部拷贝到eclipse目录中对应文件夹下(即features和plugins下),但是切记:最好在解压eclipse包后就拷贝这两个文件夹中的内容,不要等到启动eclipse后再拷贝。

3、在eclipse 创建--->开始--->选择“scala project",创建一个scala项目,然后再创一个"HelloWorld"的scala类,

object HelloWorld {

  def main(args: Array[String]) = {  
      print("hello Scala")
    }   

}

 点击 run as ---> scala application ,控制台输出:hello Scala",  成功啦!

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics