Intellij:“运行Scala控制台时出错:无法启动进程” [英] Intellij: "Error running Scala Console: Cannot Start Process"
问题描述
新安装。
Scala SBT项目。
Scala SBT project.
完整信息是:
运行Scala控制台时出错:无法启动进程,工作
目录C:\Program Files(x86)\ JetBrains \IntelliJ IDEA Community
版本13.1.4\jre\jre\bin不存在
Error running Scala Console: Cannot start process, the working directory C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 13.1.4\jre\jre\bin does not exist
拥有该目录会很不错默认在当前项目合理的地方...我认为。
It would be nice to have the directory default to somewhere sensible in the current project...I think.
推荐答案
-
来自应用程序菜单,选择
运行 - >编辑配置
打开运行/调试配置
对话框。
在对话框的左侧面板,选择默认值 - > Scala控制台
。
In the left panel of the dialog, pick Defaults -> Scala Console
.
在工作目录
文本框中,输入。
。
将此设为默认值会很棒,因为测试也需要相同的手动设置。
It would be great to set this as a default, because the tests also require the same manual settings.
这篇关于Intellij:“运行Scala控制台时出错:无法启动进程”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!