"EPIC需要Perl解释器".在Eclipse Kepler中 [英] "EPIC requires a Perl interpreter" in Eclipse Kepler
问题描述
我已经安装了Eclipse Kepler和EPIC,Java Development Kit和ActivePerl.
I have installed Eclipse Kepler and EPIC, the Java Development Kit, and ActivePerl.
当我创建一个Perl脚本并尝试以Perl local身份运行它时,出现错误
When I create a Perl script and try to run it as Perl local I get the error
To operate correctly, EPIC requires a Perl interpreter
我不明白为什么会这样.因为安装了Active Perl,我会出错吗?为什么EPIC未检测到我的Perl解释器?
I don't understand why that is. Am I going wrong because I have installed Active Perl? Why is it that my Perl interpreter is not detected by EPIC?
我从此处的Beta版安装了EPIC.我去了 Help/安装新软件/Add
,然后输入此链接并按照说明进行操作.然后我的Eclipse也重新启动了
I installed EPIC from the betas here. I went to Help/Install new software/Add
then I entered this link and followed the instructions. Then my Eclipse also restarted
由于上述错误,我仍然无法运行Perl脚本.
I am still unable to run a Perl script because of the above error.
推荐答案
您需要在Eclipse的EPIC配置中指定Perl可执行文件的绝对路径.这是步骤
You need to specify the Perl executable's absolute path in EPIC configuration under Eclipse. Here are are the steps
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可执行文件.
The /usr/bin/perl
part is important; that's my Perl executable.
注意:以上步骤是从运行在Linux上的Eclipse上执行的,但希望您能理解
Note: The above steps were taken from my Eclipse running on Linux, but I hope you get the idea
这篇关于"EPIC需要Perl解释器".在Eclipse Kepler中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!