sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25169
[Question #246613]: Encounting error "Exception in thread "main" java.lang.UnsatisfiedLinkError: org.sikuli.script.natives.VisionProxyJNI.new_FindInput__SWIG_0()J" while using Sikuli in Java
New question #246613 on Sikuli:
https://answers.launchpad.net/sikuli/+question/246613
OS: Windows Server 2008.
Sikuli Version: 1.0.1.
Installed at C:\Program Files (x86)\Sikuli.
The sikuli IDE works fine, and I have made a reference from my Java project to the sikuli-java.jar.
Java Version: 32bit JDK 1.7.0_45.
Installed at C:\Program Files (x86)\Java\jdk1.7.0_45.
Error Msg:
[info] Windows utilities loaded.
[info] Sikuli vision engine loaded.
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.sikuli.script.natives.VisionProxyJNI.new_FindInput__SWIG_0()J
at org.sikuli.script.natives.VisionProxyJNI.new_FindInput__SWIG_0(Native Method)
at org.sikuli.script.natives.FindInput.<init>(FindInput.java:39)
at org.sikuli.script.Finder.<init>(Finder.java:26)
at org.sikuli.script.Region.doFind(Region.java:1037)
at org.sikuli.script.Region$RepeatableFind.run(Region.java:1240)
at org.sikuli.script.Region$Repeatable.repeat(Region.java:1211)
at org.sikuli.script.Region.wait(Region.java:498)
at org.sikuli.script.Region.find(Region.java:382)
at org.sikuli.script.Region.getLocationFromPSRML(Region.java:1137)
at org.sikuli.script.Region.click(Region.java:607)
at com.SmokeWeb.TestSikuli.main(TestSikuli.java:9)
Java Code:
package com.SmokeWeb;
import org.sikuli.script.*;
public class TestSikuli{
public static void main(String args[]) {
Screen s = new Screen();
try{
s.click("../lib/sikuli_img/1396666426017.png", 0);
} catch (Exception e) {
System.out.print("not found");
}
}
}
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.