New question #690949 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690949

I am using Eclipse IDE for development .

I am trying to make a executable jar and give it to others so that they can run 
it in their machine.

I have followed the below documentation to access the image files inside the 
jar 

( 
https://sikulix-2014.readthedocs.io/en/latest/scripting.html#image-search-path-where-sikulix-looks-for-image-files
 

String clazz = "testAPI.Test";
String imgFolder = "/imgs";
String img = "test.png";
 String inJarFolder = clazz + imgFolder;
ImagePath.add(inJarFolder)
)

With the above steps mentioned in the doc , the executable jar works fine and 
is able to access the image files  inside  the executable jar , when it is 
executed from my computer( the computer where the code was developed ) . 

when the same jar is executed in a different machine , it doesn't work. 

But the same code when run in eclipse IDE in a different machine works well and 
is able to identify images.

I want this jar to be working in other machines too . How can we resolve this ?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to