Epic(Eclipse)Perl不工作 [英] Epic ( Eclipse ) Perl not working

查看:997
本文介绍了Epic(Eclipse)Perl不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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


无法执行命令行:perl-v / p>

无法运行程序perl(目录。):CreateProcess error = 2,系统找不到指定的文件


< blockquote>

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




  • 注意:脚本没有运行,即使在我安装Epic的那一天也显示了相同的错误。




我正在使用Windows 7,Eclipse Luna Release 2(4.4.2)和Perl 5(重新启动之前,现在已被删除)



这些是我的系统路径的内容




  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文件(x86)\Sony\VAIO启动设置工具
%JAVA_HOME%\
C:\程序文件(x86)\QuickTime\QTSystem\
C:\程序文件(x86)\Skype\P hone\
%M2_HOME%\bin


解决方案

p>如果还没有完成,在eclipse perl EPIC首选项中,您需要设置perl解释器的完整路径:



eg在我的Eclipse中,我有:



窗口 - >首选项 - > Perl EPIC-> Perl executable =C:\DEV\TOOLS\perl\perl\\ \\ bin \perl.exe


I have installed Epic in my Eclipse to run perl scripts. Unfortunately, iam getting the below error while trying to run the script.

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

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

When i tried to run "perl -v" in command prompt, it worked fine on the day i installed Epic. After restarting, the command does not work and the folder C:\Dwimperl became empty.

  • Note : The script did not run and showed the same error in eclipse even on the day i installed Epic.

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

解决方案

If not already done, In the eclipse perl EPIC preferences you need to set the full path to your perl interpreter:

e.g. In my Eclipse I have:

Window -> Preferences-> Perl EPIC-> Perl executable = "C:\DEV\TOOLS\perl\perl\bin\perl.exe"

这篇关于Epic(Eclipse)Perl不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆