How to point IDE to my version of jython?

Asked by geovanny rodriguez on 2020-01-27

I already have the IDE and it runs great but, I recently downloaded jython and installed it (windows 10). I want the sikulix IDE to point to this version of jython and not the one that came with the IDE.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-01-27
Last reply:
2020-02-03
RaiMan (raimund-hocke) said : #1

I have to check (there is a feature ;-).

will take 2 days to come back - currently the release 2.0.2 has prio.

RaiMan (raimund-hocke) said : #2

I checked with version 2.0.2:

- I have a jython installation at c:\jython2.7.1
- the folder contains a jython.jar

Find and open or create the file extensions.txt in the SikuliX-Appdata folder in Extensions.

Add a line to the file as:
jython = c:\jython2.7.1\jython.jar

In the extensions folder put an existing jython...jar to a subfolder like _hidden (just to still have it, but out of reach for SikuliX).

now start the IDE from commandline using

java -jar sikulix.... -v -c

to get the startup dump.

You should see, that the extension.txt content is recognized and that (at the end of the dump) your jython is on the sys.path.

Can you help with this problem?

Provide an answer of your own, or ask geovanny rodriguez for more information if necessary.

To post a message you must log in.