【问题标题】:"EPIC requires a Perl interpreter" in Eclipse KeplerEclipse Kepler 中的“EPIC 需要 Perl 解释器”
【发布时间】:2015-07-27 02:48:57
【问题描述】:

我已经安装了 Eclipse Kepler 和 EPIC、Java 开发工具包和 ActivePerl。

当我创建一个 Perl 脚本并尝试将它作为 Perl 本地运行时,我得到了错误

To operate correctly, EPIC requires a Perl interpreter

我不明白为什么会这样。我会因为安装了 Active Perl 而出错吗?为什么 EPIC 没有检测到我的 Perl 解释器?

我从the betas here 安装了 EPIC。我去了Help/Install new software/Add,然后我输入了这个链接并按照说明进行操作。然后我的 Eclipse 也重启了

由于上述错误,我仍然无法运行 Perl 脚本。

【问题讨论】:

    标签: eclipse windows perl epic


    【解决方案1】:

    您需要在Eclipse 下的EPIC 配置中指定Perl 可执行文件的绝对路径。以下是步骤

    Eclipse -> Window (on menu) -> Preferences -> PerlEPIC -> Perl Executable (on hte right hand side pane) -> /usr/bin/perl (this is my perl binary on ubuntu Linux)
    

    /usr/bin/perl 部分很重要;那是我的 Perl 可执行文件。

    注意:以上步骤取自我在 Linux 上运行的 Eclipse,但我希望你能明白

    【讨论】:

      【解决方案2】:

      确保您的 PATH 环境中有 perl 解释器(即,当您从 cmd 提示符发出 perl 命令时,它会被找到)

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2014-11-10
        • 2015-08-20
        • 1970-01-01
        • 2014-02-14
        • 2013-07-02
        • 1970-01-01
        • 2019-11-08
        相关资源
        最近更新 更多