简体   繁体   English

带Scala的IntelliJ IDEA 13社区版

[英]IntelliJ IDEA 13 community edition with Scala

I have IntelliJIDEA 13 installed on my windows 8 OS and would like to use it to develop Scala applications. 我在我的Windows 8操作系统上安装了IntelliJIDEA 13,并希望用它来开发Scala应用程序。 However, I am unable to configure it. 但是,我无法配置它。 I have Scala version 2.10.3 installed and IntelliJ IDEA 13.0.1. 我安装了Scala版本2.10.3和IntelliJ IDEA 13.0.1。 I also have Java version 7 update 45. 我还有Java版本7更新45。

I installed the scala plugin for IntelliJ, but whenever I start the application and try to make a new Scala module project I get the following window with an error "not valid scala home": 我为IntelliJ安装了scala插件,但每当我启动应用程序并尝试创建一个新的Scala模块项目时,我会得到以下窗口,并显示错误“无效scala home”:

http://i.imgur.com/HFXYvZJ.png?1 http://i.imgur.com/HFXYvZJ.png?1

It looks like you're pointing to the bin directory, which contains the tools but not the library and other files. 看起来你正指向bin目录,它包含工具,但不包含库和其他文件。 Remove the "\\bin" segment so that it's pointing to the actual Scala root directory and it should work. 删除“\\ bin”段,使其指向实际的Scala根目录,它应该可以工作。

JAVA_HOME ,您希望指向父目录而不是内部的bin文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM