← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #184793]: problems launching sikuli with shortcut

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
welcome back - pyCoder sounds nice as well ;-)

I guess you meant (some typo ;-)

%SystemRoot%/java -cp "path-to-sikuli-script.jar" org.python.util.jython
"path-to-script.py"

which uses Sikuli's bundled jython, to run a script.py.

On Win 7 64Bit, you need a JRE 32Bit INSTALLED AND USED by Sikuli.

So only specifying -d32 to the 64Bit JVM is not enough.

So make sure, that you have something like:

"path-to-32Bit-JRE"/bin/java -cp "path-to-sikuli-script.jar"
org.python.util.jython "path-to-script.py"

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