← 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:
On the class path you need
java -cp "%cp%;C:\apps\SikuliX\sikuli-java.jar" org.python.util.jython

and you need the jar internal Lib folder to be on Jython sys.path:
so to activate Sikuli with version 1.0.1 in this situation:
import org.sikuli.basics.SikuliXforJython
from sikuli import *

(as mentioned here: https://github.com/RaiMan/SikuliX-API/wiki/Usage-in-
Java-programming)

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