← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #202408]: using jdbc driver in Sikuli script

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
recommendation: use latest build r930/931 (see faq 1766), but has
nothing to do with your problem.

Guess you are running the IDE from a command line using Sikuli-IDE.bat
/Sikuli-IDE-w.bat

I confirm, that there is no chance, to modify the class path from
externally, when using the Jython script run feature of Sikuli (IDE or
from command line).

You might try it at the beginning of the script e.g.:

import java.lang.System as JS
cp =  JS.getProperty("java.class.path")
print cp
cp += ":some.jar"
JS.setProperty("java.class.path", cp)
print JS.getProperty("java.class.path")

mind the colon as separator!

Or you run your scripts using an external Jython installation.

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