← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #163675]: Run sikuli-script cross platform.

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- sikuli-script.jar 
as such IS platform independent.
It needs the native libraries (which are in fact interfaced with SWIG generated JNI's) specific for the platform to run on. These are in the installation's directory libs (Windows, *nix) and Sikuli-IDE.app/Contents/Frameworks (Mac).

--- current usage of sikuli-script.jar only
the target system needs:
-1- the correct Java 
-2- the native libraries in a place, where they can be found by sikuli-script.jar 
-3- system path set accordingly

then you can say:
java -jar path-to-/sikuli-script.jar path-to-myscript.sikuli

--- java.library.path
as far as I know: this is currently not used by Sikuli to find the native libraries.

look: https://answers.launchpad.net/sikuli/+question/163291
and: faq 1436

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