简体   繁体   English

启动Sikuli设置时出现问题

[英]Issue in launching the Sikuli setup

I came to know about Sikuli recently, so I thought of integrating that with my selenium project because it identifies objects using Images/Screenshot's. 我最近才了解Sikuli,所以我考虑将其与我的硒项目集成,因为它使用图像/屏幕截图识别对象。 And it will make my work easier. 这将使我的工作更加轻松。 However, when I tried to execute the runSetup command in windows i'm getting the below error 但是,当我尝试在Windows中执行runSetup命令时,出现以下错误

在此处输入图片说明

Steps I have followed, to execute Sikuli: 我执行的步骤以执行Sikuli:

  1. Download the sikuli setup jar from here 这里下载sikuli设置jar

  2. Double Click on sikuli-setup JAR , and you get runSetup command. 双击sikuli-setup JAR ,您将获得runSetup命令。 Execute the runSetup command. 执行runSetup命令。 And I'm facing this error. 我正面临着这个错误。 Does anyone have an idea to solve the issue? 有没有人有解决此问题的想法?

JDK Version - 1.8. JDK版本-1.8。 I am trying to install on a windows 7, 64 bit machine 我正在尝试在Windows 7、64位计算机上安装

There are some known situations when Sikuli requires admin rights. 在某些已知情况下,Sikuli需要管理员权限。 Installation process might be one of them as it accessing the internet and writing files on disk. 安装过程可能是其中之一,因为它访问Internet并在磁盘上写入文件。 Try to run the installation as admin and see if that makes a difference for you. 尝试以管理员身份运行安装,然后查看是否对您有所帮助。 Assuming you are in Windows and run the setup from command line, just start the cmd as admin. 假设您在Windows中并从命令行运行安装程序,只需以admin身份启动cmd。 Once you run cmd as admin, all the subsequent commands will have admin privileges. 一旦以admin身份运行cmd,所有后续命令将具有admin特权。

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

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