Sikuli script is not working on Java 64 bit in windows

依然范特西╮ 提交于 2019-12-11 14:21:44

问题


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

  1. RunSetup.cmd
  2. 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

  1. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!