sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15793
Re: [Question #220554]: how to configurate classpath when using my jars in Sikuli
Question #220554 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220554
Status: Open => Answered
RaiMan proposed the following answer:
with this command all 3 files
myown.jar
sikuli-script.jar
test.sikuli
must be in the same folder, which I cannot believe.
So supposing you have a regular Sikuli and Java 6 installation on a
Windows 32 Bit:
%ProgramFiles%\Sikuli X\libs
%ProgramFiles%\Java\jre6\bin
are on system path
and you are on a command line being in the folder that holds test.sikuli
and your myown.jar is in c:\folder\subfolder
this should work:
java -cp c:\folder\subfolder\myown.jar -jar "%ProgramFiles%\Sikuli X
\sikuli-script.jar" test.sikuli
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.