sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13969
Re: [Question #212675]: Executing Sikuli script from terminal/command line
Question #212675 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/212675
Status: Open => Answered
Brian Redmond proposed the following answer:
This FAQ? http://doc.sikuli.org/faq/010-command-line.html
There's two commands in the FAQ. The first:
SIKULI_HOME=/Applications/Sikuli-IDE.app/Contents/Resources/Java
sets an environment variable. The second:
java -jar $SIKULI_HOME/sikuli-script.jar path-to-your-script/yourScript.sikuli
executes the script.
By the response you're getting, it looks like you're only running the second command without having run the first. Since $SIKULI_HOME is empty, java isn't looking in the right place for sikuli-script.jar
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.