← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #263845]: dragDrop does not work using Jython script

 

Question #263845 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/263845

RaiMan posted a new comment:
With external Jython, using the jar's containing the bundled Jython
never makes sense, but it does not make sense at all using externally
Jython 2.7 with sikuli-ide.jar, that contains Jython 2.5, which surely
will lead to clashes on the class path and python path.

That it now works with sikulix.jar from version 1.1.0 sure is because the internal Jython also is the 2.7b3 or b4.
I recommend to using sikulixapi.jar according to
https://github.com/RaiMan/SikuliX-2014/wiki/Usage-in-Java-programming

With sikulix.jar it does not make sense to use an external Jython.
If one wants to have the "pure" Jython level, then just running
java -cp sikulix.jar org.python.util.jython does the job (this starts the same class as when you run the python command file).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.