Sikuli working fine for one user, not another

Asked by John Conlon

I have Sikuli X installed on a WinXP machine. When our system admin (he had to install it because of security) runs it, it functions fine. When I run it(I am set up as a local admin on the computer) if I run a script, it dies on the first step with this message: "...java.lang.UnsatisfiedLinkError: c:\Program Files\Sikuli X\libs\Win32Util.dll: Can't find dependent libraries". If I click on the Take Screenshot button, the Sikuli screen hides as usual, but nothing else happens even though the javaw.exe process continues to run. At first I thought it was that the PATH statement did not get set properly, but since the system admin can run it that soesn't make sense. Any ideas?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

When using the installer, the path settings are stored in the personal settings (the admin in this case).

With your login you are switching the personal context, where these path settings are missing I guess (actually it is the /Java/jre6/bin entry that is missing, when using Sikuli-IDE.bat/Sikuli-IDE-w.bat, that is missing).

So you should ask your admin, to make the path settings for Sikuli global, or you might set them yourself in your personal settings or you might use a modified copy of one of the above .bat's.

Can you help with this problem?

Provide an answer of your own, or ask John Conlon for more information if necessary.

To post a message you must log in.