← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #242920]: Issue when accessing to MySQL database

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I know, but in the bat, the only command doing something is the java
command, that is advised, to load the class org.python.util.jython from
class path, which is the Jython interpreter, that should be in your
C:\tmp\jython.jar (assuming this is the correct one).

since you have a ref to a .py file on the java command, the Jython interpreter will try to run it and hence the first thing he will do:
from sikuli import *

... writing this, I just realised, that you do not have a ref to a
Sikuli jar in your class path and since %cp% in the end contains blanks:

java -cp "%cp%;--ref-to-sikuli-jar--" org.python.util.jython
%1.sikuli\%1.py

where --ref-to-sikuli-jar-- must be for
RC3: the absolute path to sikuli-script.jar
version 1.0.1:  the absolute path to sikuli-java.jar

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