Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-04-29 Thread nhung@93
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

nhung@93 posted a new comment:
Hi Raimand, 
I use Sikili-java.jar in my eclipse. But when I run this pogram: 

Follow this page: 
http://www.paulfrymire.com/2011/08/30/sikuli-script-in-java-part-1-configuration-and-hello-world/comment-page-1/
But when I run this example, Eclipse show notication:
[error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense 
to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the QA board
I am a begginer . How I can fix this problem?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-04-29 Thread RaiMan
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

RaiMan posted a new comment:
@nhhung
please post your own questions and do not ask questions in comments to non 
related questions.

the post you found is far out of date.

If you want to work with Sikuli, then start here and read carefully:

http://sikulix.com

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-12 Thread RaiMan
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Status: Open = Answered

RaiMan proposed the following answer:
Have you ever read any of
sikulix.com/quickstart

or the text on the nightl build page?

Then you should know, what you have done wrong.

Sorry, for not giving the answer directly, but when using such non-
trivial stuff, one should be at least familiar with the basic docs.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-12 Thread Bipin
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Status: Answered = Solved

Bipin confirmed that the question is solved:
You are absolutely right.   I reckon, I was always running behind swift 
solutions, never looked at any documentation.
Now with great pleasure, I am saying - the problem is fixed !!   Thank you very 
much.. !!

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-12 Thread Bipin
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Status: Answered = Open

Bipin is still having a problem:
Ok, I have created another java program sikulixjavapgm.java without
any sikuliapi stuff and it has just SikuliX 1.1.0+  stuff in it now.

1. Downloaded sikulixsetup-1.1.0.jar
2. Ran it using java -jar sikulixsetup-1.1.0.jar  from within my empty 
directory C:\workspace\jars\sikulix
3. Selected option 2 and all went fine


Now C:\workspace\jars\sikulix has the following:

Downloads
Lib
libs
sikulixapi.jar
and the actual setup sikulixsetup-1.1.0.jar

Downloads has:
1.1.0-2.jar
sikulixlibswin-1.1.0-20150116.000744-75.jar


My batch is now:

java -cp C:\workspace\jars\sikulix\Downloads\1.1.0-2.jar
sikulixjavapgm.java

and I am below getting error:


[error] ResourceLoader: check: Terminating: The jar was not built with setup 
nor can the libs be exported from classpath!
/C:/workspace/jars/sikulix/Downloads/1.1.0-2.jar
[error] * Terminating SikuliX after a fatal error 999 *
It makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the QA board.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-12 Thread RaiMan
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Status: Open = Answered

RaiMan proposed the following answer:
--- C:\workspace\jars\sikuliapi\sikuli-api-1.0.1 -- yes, I want to use this as 
well in my project
then you should use their latest version 

I have no experience, how well Sikuli Java API and SikuliX work together
in one project. So in case of trouble I cannot help you.

--- I strongly recommend to use SikuliX version 1.1.0
... then nothing else would be needed than having sikulixapi.jar in your class 
path at runtime.

all this is no longer needed for Sikulix 1.1.0+

User Variables:
PATH=C:\workspace\jars\SikuliX\libs
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_76

System Variables:
PATH = C:\Program Files\Java\jdk1.7.0_76\jre\bin; .. .. ..

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-11 Thread Bipin
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Status: Answered = Open

Bipin is still having a problem:
I did all what you said and unfortunately it's still not working. (Note:
I have recently updated to jdk1.7.0_76)

My new details are follows:

User Variables:
PATH=C:\workspace\jars\SikuliX\libs
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_76

System Variables:
PATH = C:\Program Files\Java\jdk1.7.0_76\jre\bin; .. .. ..


C:\workspace\jars\SikuliX\sikuli-java  -- is it different from 
sikuli-script.jar? should i use this one instead?
C:\workspace\jars\sikuliapi\sikuli-api-1.0.1   -- yes, I want to use this as 
well in my project


My batch:

java -cp 
C:\workspace\jars\sikuliapi\sikuli-api-1.0.1.jar;C:\workspace\jars\sikuliX\sikuli-java.jar;C:\workspace\Contour\bin
 Emljava
pause

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-11 Thread Bipin
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Bipin posted a new comment:
[Correction]:

System Variables:
PATH = C:\Program Files\Java\jdk1.7.0_76\bin; .. .. ..

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-06 Thread RaiMan
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Status: Open = Answered

RaiMan proposed the following answer:
again: I am only speaking for SikuliX version 1.0.1+.

the sikulix-apiā€¦jar is from the project https://code.google.com/p/sikuli-api/
and should not be mixed.
see http://sikulix.com

If you want to use both (supposing you fully understand what you are doing), 
then the stuff from each project should be in different folders. 
in your case you should reserve the folder C:\workspace\jars\sikulix for 
SikuliX 1.0.1+ and have a separate folder C:\workspace\jars\sikuliapi for the 
stuff from the project  https://code.google.com/p/sikuli-api/

you might stick with version 1.0.1, it should run.
If you decide to do, I recommend to purge the folder 
https://code.google.com/p/sikulix completely and start allover new with a new 
download of sikuli-setup.jar from Launchpad.

If you decide to test 1.1.0, the also purge
https://code.google.com/p/sikulix and download the
sikulixsetup-1.1.0.jar from the nightly build page (start at
http://sikulix.com)

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-06 Thread Bipin
New question #261760 on Sikuli:
https://answers.launchpad.net/sikuli/+question/261760

I am facing this error when running as batch. It compiles fine but fails during 
run-time. (Also in eclipse all runs fine.)


Folder Structure:
--

C:\workspace\Con\src\adhoc\RunEmailTest.java -- java program under package 
'adhoc'
C:\workspace\jars\sikulix\*.jar -- all sikuli jars
C:\workspace\jars\sikulix\libs\*.dll --all dll's here


My batch-file:
---

@echo off
setlocal
set CLASSPATH=
set PATH=C:\workspace\jars\sikulix\libs;%PATH%
java -cp 
C:\workspace\jars\sikulix\sikuli-api-1.0.2.jar;C:\workspace\jars\sikulix\sikuli-java.jar
  adhoc.RunEmailTest
endlocal
pause


echo %PATH% returns below:
-

C:\ProgramData\Oracle\Java\javapath;C:\Program 
Files\Java\jdk1.7.0_71\bin;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\workspace\jars\sikulix\libs



Run-time error obtained:
-

[error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
[error] ResourceLoaderBasic: loadLib: Since native library was found, it might 
be a problem with needed dependent libraries
C:\workspace\jars\sikulix\libs\WinUtil.dll: Can't find dependent libraries
[error] ResourceLoaderBasic: loadLib: Check, wether a valid Sikuli libs folder 
is in system path at runtime!
[error] Terminating SikuliX after a fatal error(110)! Sorry, but it makes no 
sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the QA board.


Any up-to-date solution for this? Sorry if this has been asked may times, but 
none of  the solution worked for me.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-06 Thread Bipin
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Description changed to:
I am facing this error when running as batch. It compiles fine but fails during 
run-time. (Also in eclipse all runs fine.)
[Note: I am running this batch from : C:\workspace\Con]


Folder Structure:
--

C:\workspace\Con\src\adhoc\RunEmailTest.java -- java program under package 
'adhoc'
C:\workspace\jars\sikulix\*.jar -- all sikuli jars
C:\workspace\jars\sikulix\libs\*.dll --all dll's here


My batch-file:
---

@echo off
setlocal
set CLASSPATH=
set PATH=C:\workspace\jars\sikulix\libs;%PATH%
java -cp 
C:\workspace\jars\sikulix\sikuli-api-1.0.2.jar;C:\workspace\jars\sikulix\sikuli-java.jar
  adhoc.RunEmailTest
endlocal
pause


echo %PATH% returns below:
-

C:\ProgramData\Oracle\Java\javapath;C:\Program
Files\Java\jdk1.7.0_71\bin;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\workspace\jars\sikulix\libs


Run-time error obtained:
-

[error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
[error] ResourceLoaderBasic: loadLib: Since native library was found, it might 
be a problem with needed dependent libraries
C:\workspace\jars\sikulix\libs\WinUtil.dll: Can't find dependent libraries
[error] ResourceLoaderBasic: loadLib: Check, wether a valid Sikuli libs folder 
is in system path at runtime!
[error] Terminating SikuliX after a fatal error(110)! Sorry, but it makes no 
sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the QA board.


Any up-to-date solution for this? Sorry if this has been asked may times, but 
none of  the solution worked for me.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-06 Thread RaiMan
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Status: Open = Answered

RaiMan proposed the following answer:
-- 1. you have a mix of 
sikuli-api-1.0.2
and
SkuliX version 1.0.1

this is not recommended (does not really make sense) and I do not
support this.

-- 2. pointer to libs folder
set PATH=C:\workspace\jars\sikulix\libs;%PATH%
is not needed in your bat, since it is already at the end of the system path 
(added by version 1.0.1 setup).

-- 2. With version 1.1.0 this would be much easier, since the system path is 
handled by SikuliX on the fly at runtime.
If you give it a try be sure to purge anything from your system environment 
pointing to prior Sikuli(X) versions.

Generally: any pointer to the Java bin folder is usually not needed in system 
path for Java itself or any recent Java app or IDE.
recommendation: remove it from system path, if you really do not need it for 
any special case (SikuliX version 1.0.1+ does not need it anymore anyways).

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261760]: Fatal Error 110: loading: WinUtil.dll

2015-02-06 Thread Bipin
Question #261760 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261760

Status: Answered = Open

Bipin is still having a problem:
Thanks RaiMan, I just followed your suggestions:

1-- Made both sikuli-java and sikuli-api to version 1.0.1
2-- removed the set PATH from bat
3-- removed java bin folder entry from system path


-- First run after above steps:

[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: 
C:\workspace\jars\sikulix\libs
[action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to 
user's path
[info] runcmd: reg QUERY HKCU
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[info] runcmd: reg ADD HKEY_CURRENT_USER\Environment /v PATH /t REG_EXPAND_SZ 
/f /d C:\workspace\jars\sikulix\libs
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[error] ResourceLoaderBasic: checkLibsDir: Successfully added the libs folder 
to users PATH!
RESTART all processes/IDE's using Sikuli for new PATH to be used!/nFor usages 
from command line logout/login might be necessary!
[error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense 
to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the QA board.


-- Run again after logout/login (same error):

[error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
[error] ResourceLoaderBasic: loadLib: Since native library was found, it might 
be a problem with needed dependent libraries
C:\workspace\jars\sikulix\libs\WinUtil.dll: Can't find dependent libraries
[error] ResourceLoaderBasic: loadLib: Check, wether a valid Sikuli libs folder 
is in system path at runtime!
[error] Terminating SikuliX after a fatal error(110)! Sorry, but it makes no 
sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the QA board.
Press any key to continue . . .


Should I go for version 1.1.0 to resolve this this now? 

My updated batch is as follows:

@echo off
java -cp 
C:\workspace\jars\sikulix\sikuli-api-1.0.1.jar;C:\workspace\jars\sikulix\sikuli-java.jar
 adhoc.RunEmailTest
pause

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp