Comment 1 for bug 1227541

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: [request] sikuli-java.jar should better support having it in additional places besides the setup folder

problem here is the libs path not in system path at runtime.

a batch fixing this problem:
@echo off
setlocal
set CLASSPATH=
set PATH=%~dp0\lib\libs;%PATH%
java -cp "lib/*" com.ists.sikuli.TestExecutor FileActions.xls FileFunctions TC20001
endlocal

BTW: You only need to copy the sikuli-java.jar around. With the above batch, Sikuli internally will finally decide to create a libs folder exactly in this place and copy the correct libs to this folder at runtime.