Configuring Eclipse for Jython

Asked by Prateek Sahu

I want to ask whether sikuli script(i.e .py (python script)) can run in eclipse???

I have alredy configured Eclipse for Python. But When I am trying to run sikuli's python script its not working..

Do I need to configure Eclipse for Jython interpreter??? If yes then how..???

Please help me...

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

With the exception, that Sikuli X-1.0rc3 uses Jython 2.5.2 (so you should install Jython 2.5.2), every thing is documented in
http://sikuli.org/docx/faq/040-other-ide.html#how-to-use-sikuli-together-with-other-ide-s

Revision history for this message
Prateek Sahu (prateek-sahu01apr) said :
#2

Thanks RaiMan for you help.

I have also refered you post ques # 141302
But the point is I am not able to get jython 2.5.2

I tried to download jython 2.5.2 from http://www.jython.org/downloads.html, when ever I am trying to run the downloaded file its showing a error message that the file is corrupt.

So could you please share the link from where I can download jython 2.5.2

Revision history for this message
Prateek Sahu (prateek-sahu01apr) said :
#3

I have installed pydev plugin for eclipse but when i try to install jython using below command :
java -jar jython_installer-2.5.2.jar it gives an error message "Invalid or corrupt jarfile jython_installer-2.5.2.jar".

I have already searched on net but no success.

Please help.

Thanks in advance

Revision history for this message
Prateek Sahu (prateek-sahu01apr) said :
#4

I have installed pydev plugin for eclipse but when i try to install jython using below command :
java -jar jython_installer-2.5.2.jar it gives an error message "Invalid or corrupt jarfile jython_installer-2.5.2.jar".

I have already searched on net but no success.

Please help.

Thanks in advance

Revision history for this message
Best RaiMan (raimund-hocke) said :
#5

This is definitely the place to get it and it works.

download the file and double-click it

Revision history for this message
Prateek Sahu (prateek-sahu01apr) said :
#6

Thanks raiman....

I have configured eclipse for jython using version jython 2.2.1 and it worked..

Revision history for this message
Prateek Sahu (prateek-sahu01apr) said :
#7

Thanks RaiMan, that solved my question.

Revision history for this message
RaiMan (raimund-hocke) said :
#8

Hope you are talking about Jython 2.5.1 ???

2.2.1 might make problems with Sikuli.