【发布时间】:2011-02-26 17:04:03
【问题描述】:
我尝试在 NetBesans 6.9.1 下运行 scala 插件。我从 arch linux 存储库安装 scala。然后我下载 netbeans-6.9.1 和 scala 插件。安装的插件。当我使用 hello world 创建 scala 应用程序并尝试构建时出现错误:
You must set SCALA_HOME or environment property and append "-J-Dscala.home=scalahomepath"
property to the end of "netbeans_default_options" in NetBeansInstallationPath/etc/netbeans.conf to point to
Scala installation directory.
我该如何解决?
我输入了我的 netbeans.conf J-Dscala.home=/usr/bin/scala 但这没有帮助。之后我收到错误:无法从资源 scala/tools/ant/antlib.xml 加载定义。找不到。
谢谢。
【问题讨论】:
标签: scala plugins netbeans ide