简体   繁体   English

Sikuli脚本在Windows中的Java 64位上不起作用

[英]Sikuli script is not working on Java 64 bit in windows

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" . 我正在尝试使用Sikuli处理一些Windows弹出窗口,我已经开发了脚本并在Windows 32位Java中尝试了它,效果很好,但是我试图在Java 64位中执行相同的脚本,但出现错误“ Win32Util.dll:无法在AMD 64位平台上加载IA 32位.dll” Can any one plz assist me to work on 64 bit java version with Sikuli. 谁能帮助我用Sikuli处理64位Java版本。

Thanks in advance. 提前致谢。

Steps to work with Sikuli - Java (Eclipse) 使用Sikuli的步骤-Java(Eclipse)

Step #1 - Download the jar file Sikuli-setup.jar 步骤#1-下载jar文件Sikuli-setup.jar

Step #2 - Place the Jar file in a new folder (say D:\\Sikuli) 步骤#2-将Jar文件放置在新文件夹中(例如D:\\ Sikuli)

Step #3 - Run the Jar - Two files will be created automatically 步骤#3-运行Jar-将自动创建两个文件

  1. RunSetup.cmd 运行安装程序
  2. Log File 日志文件

Step #4 - Run the runSetup.cmd file and follow instructions. 步骤#4-运行runSetup.cmd文件并按照说明进行操作。 Click OK --> Select 4th Option from the Form 单击确定->从表单中选择第四个选项

Setp #5 - Set Up Fails (Saying Download Failed) Setp#5-设置失败(说下载失败)

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] 步骤#6-现在下载[Sikuli-1.0.1-3-https://launchpad.net/raiman/+download]补丁文件[(zip文件)-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) 步骤#7-将Sikuli-java.jar复制到(例如D:\\ Sikuli \\ Downloads)

Step #8 - Re run the runSetup.cmd and proceed. 步骤#8-重新运行runSetup.cmd并继续。

Step #9 - Sikuli-java.jar file is generated. 步骤#9-生成Sikuli-java.jar文件。 Add this file to the java build path (on eclipse) 将此文件添加到Java构建路径(在Eclipse上)

Step #10 - Execute the program. 步骤#10-执行程序。

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. 如果错误:如果显示关于缺少Libs文件夹的注册表错误,则Eclipse将自动将Libs文件夹添加到根文件夹。

If Error:If eclipse throws an error saying Logout 如果错误:如果eclipse抛出错误,提示注销

  1. List item 项目清单

    and Login Solution : Reboot the machine. 和登录解决方案:重新启动计算机。

More details can be found at this [link - https://answers.launchpad.net/sikuli/+question/234720] 可以在此[link-https://answers.launchpad.net/sikuli/+question/234720]中找到更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM