sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11224
[Question #200666]: Error when trying to find image using eclipse Java
New question #200666 on Sikuli:
https://answers.launchpad.net/sikuli/+question/200666
Hi,
I am trying to use Sikuli in Java using Eclipse in windows. When i try to use hover and give the image path i m getting the below exception. I am using the zip version. Not sure what is the problem. Can anyone please help.
I have imported the sikuli-script.jar in the project and test "Type" method, it works fine.
I set the environment variable as below:
SIKULI_HOME=D:\CHNMCT48977L\Setup\Sikuli\Sikuli-X-1.0rc2-win32\Sikuli-X-1.0rc2-win32\Sikuli-IDE
CLASS_PATH=D:\CHNMCT48977L\Setup\Sikuli\Sikuli-X-1.0rc2-win32\Sikuli-X-1.0rc2-win32\Sikuli-IDE\libs
Path=D:\CHNMCT48977L\Setup\Sikuli\Sikuli-X-1.0rc2-win32\Sikuli-X-1.0rc2-win32\Sikuli-IDE\libs
[info] Windows utilities loaded.
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users\DJG\AppData\Local\Temp\tmplib\VisionProxy.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
at org.sikuli.script.Finder.<clinit>(Finder.java:28)
at org.sikuli.script.Region.doFind(Region.java:769)
at org.sikuli.script.Region$RepeatableFind.run(Region.java:1160)
at org.sikuli.script.Region$Repeatable.repeat(Region.java:1131)
at org.sikuli.script.Region.wait(Region.java:406)
at org.sikuli.script.Region.find(Region.java:308)
at org.sikuli.script.Region.getLocationFromPSRML(Region.java:856)
at org.sikuli.script.Region.hover(Region.java:529)
at com.test._JMenuBar.actionPerformed(_JMenuBar.java:71)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.