← Back to team overview

sikuli-driver team mailing list archive

[Question #208801]: Yet another java.lang.UnsatisfiedLinkError

 

New question #208801 on Sikuli:
https://answers.launchpad.net/sikuli/+question/208801

I have an java.lang.UnsatisfiedLinkError using only windows XP machines.

My current setup is a test suite setup on an interactive drive. I have both sikuli installed locally and on the interactive share. The batch file works fine on windows 7 64bit, but not on windows XP 32bit.

I did have my batch files all working correctly until I implemented JDBC server connection which changed the way I execute sikuli ( I know execute using the class path).

My current .bat file:


@echo off

PATH=%PATH%;Sikuli-X-1.0rc3\Sikuli-IDE\libs
set JAVA_EXE="java"

if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe"
%JAVA_EXE% -Xms64M -Xmx512M -cp "mysql-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-script.jar" org.sikuli.script.SikuliScript run_suite.sikuli


The error:

java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: C:\Program Files\Sikuli X\libs\Win32Util.dll: Can't find dependent libraries

What is strange is that I have put that exact path (copy and paste) into windows explorer and it found the .dll fine. Im starting to think it's some sort of weird permission error due to it being executed from the network drive. I also put my sikuli lib directory relative to the current drive in the path but it still uses c: to find them.

to clarify, I have two directories it can find the dlls:

C:\Program Files\Sikuli X\libs
Sikuli-X-1.0rc3\Sikuli-IDE\libs < ---- in the working directory


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