← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #231079]: Using sikuli-script.jar with Clojure

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
-- 1: pls. use the final version Sikuli-1.0.0
Since you seem to be on Mac, the suitable package is Sikuli-API-1.0.0-Mac

start here: http://www.sikuli.org/download.html

The package contains a libs folder which in turn contains the needed
native libraries (e.g. MacUtil.dylib ;-)

When using sikuli-script.jar standalone, then you need one of the
options to tell Sikuli the location of this libs folder.

The easiest option is to have the libs folder in the same folder as
sikuli-script.jar - it is then found automatically.

If this is not possible, then you can either let the environment
variable SIKULIX_HOME point to the folder containing the libs folder or
you use the JVM option -Dsikuli.Home=folder-containing-libs-folder

examples for both:

say you have the libraries in /users/someone/SikuliX/libs

export SIKULIX_HOME=/users/someone/SikuliX

or with your run command, if it accepts JVM options like -X or -D:
-Dsikuli.Home=/users/someone/SikuliX

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