← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #231678]: fail to open an interactive Sikuli Jython session

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I guess you are using the command files sikuli-ide and sikuli-script
usually.

In this case you could use:
sikuli-script.cmd -i

These command scripts take care, that the path to Sikuli's libs folder
is in system path at runtime together with an entry for the used Java's
bin folder.

So if you do not use the command files, but a java command directly or
in your own command files, the you have to take care for system path on
your own.

e.g. in your own command script:
setlocal
set SIKULIX_HOME=path-to-your-sikul-stuff
set PATH=%SIKULIX_HOME%\libs;C:\Program Files\Java\jre7\bin;%PATH%
java -jar %SIKULIX_HOME\sikuli-script.jar -i
endlocal

or the respective settings in your system environment using the
properties panel.

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