“EPIC requires a Perl interpreter” in Eclipse Kepler

笑着哭i 提交于 2019-12-24 08:15:44

问题


I have installed Eclipse Kepler and EPIC, the Java Development Kit, and ActivePerl.

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

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?

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

I am still unable to run a Perl script because of the above error.


回答1:


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)

The /usr/bin/perl part is important; that's my Perl executable.

Note: The above steps were taken from my Eclipse running on Linux, but I hope you get the idea




回答2:


Make sure you have the perl interpreter in your PATH environment (ie when you issue a perl command from the cmd prompt, it will be found)



来源:https://stackoverflow.com/questions/24650728/epic-requires-a-perl-interpreter-in-eclipse-kepler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!