← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235975]: [1.0.1] Windows: Java: "Fatal Error 110: loading: WinUtil.dll" when running from command prompt

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Ok, the problem is exactly, what Sikuli says:
Check, wether a valid Sikuli libs folder is in system path at runtime!

In Eclipse you seem to use references to the location, where you have
setup sikuli.

Now you moved the sikuli stuff to your batch project folder. But now you
have to take care, that the current libs folder is in system path at
runtime, which is not the case currently.

the easiest and most flexible solution:

setup your batch as follows:

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

this batch will run in any folder having the given folder structure
inside and the batch on the first level.

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