Iam Trying Sikuli in jruby with Netbeans IDE, Throwing Error while Running

Asked by Naveen

Iam trying to Launch a Browser using sikuli jruby in Netbeans, my code is:
require 'sikuli'
cd1 = app.new("C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe")

when I try to run the code it throws error says that

"LoadError: Failed to load 'C:\Sikuli/sikuli-script.jar'
Is Sikuli installed?"

Could anyone solve this issue? I have struggled here, could u please help me to solve and launch Browser?

Question information

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

upgrade to version 1.1.1 and try again.

http://sikulix.com

Revision history for this message
Naveen (naveenkr) said :
#2

while installing iam not able to sikuli-script.jar, how to get that sikuli-script.jar file??

Revision history for this message
RaiMan (raimund-hocke) said :
#3

the jar names have changed.
what you are looking for is now sikulixapi.jar

Revision history for this message
Naveen (naveenkr) said :
#4

ok, I set the Path SIKULIXAPI_JAR with value C:\Sikulix\sikulixapi.jar, but still facing the issue which says "LoadError: Failed to load 'C:\Sikulix/sikuli-script.jar'"..

as you said sikuli-script.jar is now changed into sikulixapi.jar rite, if that is the case I should not the error right?

Revision history for this message
RaiMan (raimund-hocke) said :
#5

You have to move everything, that belongs to previous versions of Sikuli out of way including any pointers in project settings or system paths.

with version SikuliX 1.1.+ it is:
require 'sikulix'

Can you help with this problem?

Provide an answer of your own, or ask Naveen for more information if necessary.

To post a message you must log in.