← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #141302]: Sikuli X: Want to use Jython 2.5.2 with sikuli-script.jar

 

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

RaiMan posted a new comment:
@ coldtest:
Yes this is a solution, but not necessary to do so.

First sorry, for the mistake in the post (I corrected it):
JYTHONPATH=D:\jython2.5.2\Lib;D:\jython2.5.2\sikuli-script.jar\Lib

So you have the the correct sys.path as needed from beginning.
There is no need, to unzip sikuli-script.jar, since Jython accepts folder specifications inside of jar-files.

It is even possible to not copy sikuli-script.jar at all and use it at
it's installation place (D:\Program Files\Sikuli\sikuli-script.jar in
your case). The recommendation to copy it to another place was only,
because it is not clear, whether the Jython problem with filenames
containing blanks is fixed in 2.5.2. so you might give it a try.

One more thing:
CLASSPATH=.;D:\jython2.5.2\sikuli-script.jar
is sufficient - you do not need it twice.

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