Epic ( Eclipse ) Perl 不工作
Epic ( Eclipse ) Perl not working
我已经在我的 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.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 中,我有:
Window -> 首选项 -> Perl EPIC -> Perl 可执行文件 = "C:\DEV\TOOLS\perl\perl\bin\perl.exe"
安装 ActivePerl 后问题已解决。
问题是 Epic (Dwimperl) 提供的 perl Interpreter 没有正确设置 PATH 变量和可安装文件。
安装 ActivePerl 后,Eclipse 获取了它的路径变量。
C:\Perl64\site\bin;C:\Perl64\bin;
现在,perl 脚本在 Eclipse 中运行良好。
我已经在我的 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.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 中,我有:
Window -> 首选项 -> Perl EPIC -> Perl 可执行文件 = "C:\DEV\TOOLS\perl\perl\bin\perl.exe"
安装 ActivePerl 后问题已解决。 问题是 Epic (Dwimperl) 提供的 perl Interpreter 没有正确设置 PATH 变量和可安装文件。
安装 ActivePerl 后,Eclipse 获取了它的路径变量。
C:\Perl64\site\bin;C:\Perl64\bin;
现在,perl 脚本在 Eclipse 中运行良好。