Unable to run Sikuli script from compiled jar file.

Asked by Ratnadip Chaudhuri

When I am running a java project that is using Sikuli from Eclipse, there is no issue. However, once I try executing it through compiled jar, there is a problem running it. The Pattern is not getting recognized for the image.

Question information

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

where are your images stored?

How do you reference them (bundlePath, ImagePath? filenames?)

did you already read:
http://sikulix-2014.readthedocs.org/en/latest/scripting.html#image-search-path-where-sikulix-looks-for-image-files

Revision history for this message
Ratnadip Chaudhuri (ratnadip-chaudhuri) said :
#3

Thanks RaiMan. Please close the issue. I was not referring to the correct libs folder while running the jar. Thanks again for your reply.

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

solved by submitter himself