← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #193447]: Can't find Sikuli-Script.jar

 

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

RaiMan proposed the following answer:
It seems that you are programming in Java.

As stated in the docs, you have to install Sikuli before using stuff in Eclipse.
This is necessary for Sikuli to find its needed components, when running a Java program from within Eclipse, that uses the Sikuli API.

If you did, the above mentioned folder is at:
/Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli-script.jar 

since "installation" on a Mac usually means to copy the dmg-contained
app-bundle to the program folder /Applications.

In Finder you can open the bundle with context-menu 2nd entry (show
bundle content or something like that).

When in Eclipse, it is not possible to navigate into the bundle Sikuli-
IDE.app to set the library to sikuli-script.jar. I solved that by
setting a variable to  /Applications/Sikuli-
IDE.app/Contents/Resources/Java/sikuli-script.jar that in turn can be
used for the library reference definition.

If you do not get it working this way: in Finder COPY sikuli-script.jar
to some "real" folder and reference it from there.

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