sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29245
Re: [Question #257341]: Running scripts from shell command line using jython (OS-X)
Question #257341 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/257341
Status: Open => Answered
RaiMan proposed the following answer:
Why do you want to use external Jython?
Sikuli scripts can be run from command line by either using the provided
command scripts or
java -jar sikuli-script.jar -r myscript.sikuli
If for some reason you really want to use Jython, then you should switch to either version 1.0.1 or even 1.1.0.
see http://sikulix.com
There we have SikuliX jar, that does not contain the Jython stuff.
In version RC3 (that you use), it is critical to use external Jython due
to the builtin Jython, that might lead to conflicts.
generally for using external Jython:
- the Sikuli jar must be on the Java class path
- the Sikuli-jar/Lib folder must be on Jython's sys.path
version 1.0.1+ have better support for these situations.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.