eclipse - Epic ( Eclipse ) Perl 不工作

标签 eclipse perl epic

我已经在 Eclipse 中安装了 Epic 来运行 perl 脚本。不幸的是,我在尝试运行脚本时收到以下错误。

Failed to execute command line: "perl" "-v"

Cannot run program "perl" (in directory "."): CreateProcess error=2, The system cannot find the file specified

当我尝试在命令提示符中运行“perl -v”时,它在我安装 Epic 的那天工作正常。重新启动后,该命令不起作用,文件夹 C:\Dwimperl 变为空。

  • 注意:即使在我安装 Epic 的当天,该脚本也没有运行,并且在 Eclipse 中显示了相同的错误。

I am using Windows 7, Eclipse Luna Release 2(4.4.2), and Perl 5 (before restart, now deleted)

These are the contents of my System PATH

E:\app\mevenk\product\12.1.0\dbhome_1\bin
C:\ProgramData\Oracle\Java\javapath
%SystemRoot%\system32
%SystemRoot%
%SystemRoot%\System32\Wbem
%SYSTEMROOT%\System32??\WindowsPowerShell\v1.0\
C:\Program Files (x86)\Sony\VAIO Startup Setting Tool
%JAVA_HOME%\
C:\Program Files (x86)\QuickTime\QTSystem\
C:\Program Files (x86)\Skype\Phone\
%M2_HOME%\bin

最佳答案

如果尚未完成,您需要在 eclipse perl EPIC 首选项中设置 Perl 解释器的完整路径:

例如在我的 Eclipse 中我有:

窗口 -> 首选项 -> Perl EPIC -> Perl 可执行文件 = "C:\DEV\TOOLS\perl\perl\bin\perl.exe"

关于eclipse - Epic ( Eclipse ) Perl 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29981432/

相关文章:

eclipse - 为什么 E-P-I-C 无法检测到 PadWalker?

eclipse - 无法在 Eclipse + EPIC 中查看本地

eclipse 中的 Java API

java - 如何在 Eclipse 中拆分字符串并将项目添加到 ListView(用于循环/迭代)?

xml - 如何使用 XML::Simple 检索标签属性?

arrays - Perl @$ 语法含义

apache - 使用 dispatch.cgi 运行 CGI 时出现 perl Dancer 问题

eclipse - 在 eclipse juno 中安装 EPIC

java - SpaceVim jdt-语言-服务器-最新

java - 谷歌地图与自定义图像作为特定位置的图标