Question #141302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/141302
Description changed to: *** this is a how to current release: Jython 2.5.2 (final release available since March 3, 2011) Download link: http://www.jython.org/downloads.html Be aware, that some things might not behave as expected: Sikuli is tested and runs with Jython 2.5.1 If you want to use it, you have to make sure, that in sys.path the pointer to Jython/Lib comes before the entry sikuli-script.jar/Lib (which is needed to find the Python layer of Sikuli using: from sikuli.Sikuli import *). You should copy sikuli-script.jar to a place, so that the resulting absolute path does not contain any blanks and use this copy in the further steps (bug 702155) There might be many ways to do the following (depending on your environment and goals), but this at least works: --- e.g. you have Jython in c:\Jython2.5.2 and copied sikuli-script.jar to this directory --- set the environment variable CLASSPATH as the path to sikuli- script.jar --- set the environment variable JYTHONPATH set JYTHONPATH=c:\Jython2.5.2\Lib;c:\Jython2.5.2\sikuli-script.jar\Lib --- use the jython command file (Windows: jython.bat, Mac/Linux: jython) in Jython/bin to run a Sikuli script e.g. you have a script at path-to/myscript.sikuli, you have to say: jython.bat path-to/myscript.sikuli/myscript.py --- comment on NetBeans/Eclipse: If you use the Python plugins together with Jython 2.5.2 just check the generated sys.path in these environments at runtime of your script. It should be already in the correct sequence. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

