SilkuliX can't find images in an executable jar.
Asked by
Spencer Keller
I'm packaging a SikuliX application up as an executable jar file and I'm having trouble with the path to the images. The jar file has a directory called /images where all of the .png files live but when I pass “images/icon.png” to any method that takes a PFRML the image can not be found. SikuliX is looking in the current working directory so I get a message like:
[error] Image: could not be loaded: file:/C:
How do I get SikuliX to look in the “images” directory of the jar file?
Thanks,
Spence
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Spencer Keller
- Solved:
- Last query:
- Last reply:
To post a message you must log in.