← Back to team overview

sikuli-driver team mailing list archive

[Question #221966]: Calling Sikuli functions from Java, linked to the jar, I get cannot find dep lib as error at run time.

 

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

I am trying to click on an image on the screen.
Using Java, linked to Sikuli_script.jar and calling the screen.click function.
Compilation is fine, but at run time I get the following error:

Win32Util.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825) at java.lang.Runtime.load0(Runtime.java:792) at java.lang.System.load(System.java:1059) at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44) at org.sikuli.script.Win32Util.<clinit>(Win32Util.java:19) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at org.sikuli.script.Env.getOSUtil(Env.java:91) at org.sikuli.script.ScreenHighlighter.init(ScreenHighlighter.java:180) 



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