问题
I am trying to handle some windows popups using Sikuli, I have developed the script and tried it in my windows 32 bit java, it was worked well, but i am trying to execute the same script in java 64 bit, i am getting error like "Win32Util.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform". Can any one plz assist me to work on 64 bit java version with Sikuli.
Thanks in advance.
回答1:
Steps to work with Sikuli - Java (Eclipse)
Step #1 - Download the jar file Sikuli-setup.jar
Step #2 - Place the Jar file in a new folder (say D:\Sikuli)
Step #3 - Run the Jar - Two files will be created automatically
- RunSetup.cmd
- Log File
Step #4 - Run the runSetup.cmd file and follow instructions. Click OK --> Select 4th Option from the Form
Setp #5 - Set Up Fails (Saying Download Failed)
Step #6 - Now Download [Sikuli-1.0.1-3 - https://launchpad.net/raiman/+download] patch file [(zip file) - https://launchpadlibrarian.net/156273987/Sukuli-1.0.1-Offline-Setup-Java-option3-option4.zip]
Step #7 - Copy the Sikuli-java.jar to the (say D:\Sikuli\Downloads)
Step #8 - Re run the runSetup.cmd and proceed.
Step #9 - Sikuli-java.jar file is generated. Add this file to the java build path (on eclipse)
Step #10 - Execute the program.
If Error: If Registry error is displayed about the absense of the Libs folder, Eclipse will automatically add the Libs Folder to the root folder.
If Error:If eclipse throws an error saying Logout
List item
and Login Solution : Reboot the machine.
More details can be found at this [link - https://answers.launchpad.net/sikuli/+question/234720]
回答2:
resolved in latest version here https://launchpad.net/sikuli/sikulix/1.0.1/+download/sikuli-setup.jar
来源:https://stackoverflow.com/questions/20045680/sikuli-script-is-not-working-on-java-64-bit-in-windows