Sikuli and Java: Can't load IA 32-bit .dll on a AMD 64-bit platform

Asked by Krzysztof Gonia

I'm try to use sikuli script in java. I create code base on http://doc.sikuli.org/faq/030-java-dev.html

And I get error:

Exception in thread "main" 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

How to fix it?
Sikuli-IDE works normaly.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Krzysztof Gonia
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Seems to be RC3:
Cannot be run with a 64-Bit Java.
You must make sure, that you use a 32-Bit Java version with SikuliX-1.0rc3

... or you might upgrade to SikuliX 1.0.1 (start here: http://www.sikuli.org/download.html)

Revision history for this message
Krzysztof Gonia (krzychu224) said :
#2

I have 1.0.1 version

Revision history for this message
Krzysztof Gonia (krzychu224) said :
#3

My bad, it was SikuliX-1.0rc3