scala ide安装
2016-03-10 16:05
344 查看
0 经常用到开发工具有
a) Intellij IDEA 免费版
b) eclipse + scala插件
c) scala ide(基于Eclipse 4.3 )
1 尝试eclipse + scala插件安装失败流程如下
最开始尝试用b) eclipse + scala插件方式,但是无论我是下载 eclipse3.8 还是 eclipse4.2,在在线下载eclipse对应版本scala插件时,总会报错,信息如下(说是依赖冲突,至今未找到原因)
Java代码
Cannot complete the install because of a conflicting dependency.
Software being installed: Scala IDE for Eclipse dev support 4.0.0.m1-2_11-201401241152-b48fae2 (org.scala-ide.sdt.dev.feature.feature.group 4.0.0.m1-2_11-201401241152-b48fae2)
Software being installed: Scala IDE for Eclipse dev support 4.0.0.m2-2_11-201405271306-a781482 (org.scala-ide.sdt.dev.feature.feature.group 4.0.0.m2-2_11-201405271306-a781482)
Only one of the following can be installed at once:
Scala Plugin Spy 4.0.0.m2-2_11-201405271306-a781482 (org.scala-ide.sdt.spy 4.0.0.m2-2_11-201405271306-a781482)
Scala Plugin Spy 4.0.0.m1-2_11-201401241152-b48fae2 (org.scala-ide.sdt.spy 4.0.0.m1-2_11-201401241152-b48fae2)
Cannot satisfy dependency:
From: Scala IDE for Eclipse dev support 4.0.0.m1-2_11-201401241152-b48fae2 (org.scala-ide.sdt.dev.feature.feature.group 4.0.0.m1-2_11-201401241152-b48fae2)
To: org.scala-ide.sdt.spy [4.0.0.m1-2_11-201401241152-b48fae2]
Cannot satisfy dependency:
From: Scala IDE for Eclipse dev support 4.0.0.m2-2_11-201405271306-a781482 (org.scala-ide.sdt.dev.feature.feature.group 4.0.0.m2-2_11-201405271306-a781482)
To: org.scala-ide.sdt.spy [4.0.0.m2-2_11-201405271306-a781482]
按照此人的博客, http://blog.csdn.net/daemonpei/article/details/7591631
下载 eclipse indigosr2版,安装的时候倒是不报上述错误,但是安装到60%多时,提示安装problem而退出。。。。
人品问题吗,那采用c方式吧.......
2 介绍下方式scala ide(基于Eclipse 4.3)
a) 本机已经安装好了Scala 2.11.1
b) 下载地址: http://scala-ide.org/download/sdk.html 这里我下载的是For Scala 2.11.1 window 32版
c) 解压后双击 eclipse.exe
d) 剩下的流程就和eclipse创建java工程和java文件类似了,
在scala ide内,new scala project,在工程内, new scala object(注意不要new scala class),类比于创建 .java文件而不是创建.class文件
否则你创建的文件是无法执行的。
方式Intellij IDEA 免费版 没有使用过
/article/4045052.html
相关文章推荐
- JVM 垃圾回收 Minor gc vs Major gc vs Full gc
- 如何为可扩展系统进行Socket编程
- LRUMap demo
- postgreSQL锁
- jdk6 HttpServer的使用
- Linux 防火墙永久开放端口
- window pro*c 环境搭建
- Redis 下key的过期时间详解 :expire
- Lucene5学习之使用MMSeg4j分词器
- 将main方法打成jar包,并引用第三方的maven jar包
- ORACLE SQL Loader
- java tjws
- elasticsearch 批量入库bulk性能测试
- Ace - Responsive Admin Template
- Hbase访问方式之Java API
- storm job 提交集群测试 注意事项
- dubbo的代码项目结构
- 如何学好一门语言
- javascript实例学习之五——瀑布流布局
- 使用roslyn代替MSBuild完成解决方案编译