How to resolve libs\Win32Util.dll: Can't load 32-bit .dll on a AMD 64 bit platform issue

Asked by Prashant

i have been setup my environment variable Correctly, confirm my checking in command line. but while executing the script with test-ng seeing below issue. Please let me know what i am doing wrong.

Setup: Sikuli jar 64 bit,
Java: jdk1.6.0_45, jre6 all are at C:\Program Files (x86)

Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Sikuli X\libs\Win32Util.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary1(Unknown Source)
 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.Win32Util.<clinit>(Win32Util.java:19)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Unknown Source)
 at org.sikuli.script.Env.getOSUtil(Env.java:91)
 at org.sikuli.script.ScreenHighlighter.init(ScreenHighlighter.java:180)
 at org.sikuli.script.ScreenHighlighter.<init>(ScreenHighlighter.java:293)
 at org.sikuli.script.Screen.initBounds(Screen.java:105)
 at org.sikuli.script.Screen.<init>(Screen.java:117)
 at BVSelenium1.BVSanityTest.<init>(BVSanityTest.java:31)
 ... 26 more

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

this is a question

Revision history for this message
RaiMan (raimund-hocke) said :
#2

might be, that everything is in its place ...

... but at the moment of crash a 64-bit Java is working.

Revision history for this message
Prashant (prashant-bharambe143) said :
#3

after the fresh install its works fine with script. but i closed the eclipse and open again. and it shows me same problem.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

check your Eclipse setup according to the used Java versions and make sure the newly downloaded sikuli-java.jar is on the classpath at runtime and no other sikuli-....jar.

Can you help with this problem?

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

To post a message you must log in.