← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #404615]: [1.1.1] images not found in runnable jar at root level --- use at least one folder level

 

Question #404615 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404615

    Status: Open => Answered

RaiMan proposed the following answer:
I created your project structure in IntelliJ IDEA (which does not really
matter) and got a jar, that had the Main.class and the images at the
jar's root level, which did not work (image not found on image path).

storing the images as mentioned in comment #4 worked for me.

Apart from that, you seem to have another problem, when running the jar
from the command line (which I did also when testing and which works for
me).

on the command line add -Dsikuli.Debug=3 as Java parameter and check the log for any information that helps.
It crashes in the code part, where we try to evaluate the running jar situation.

Another option is to try with version 1.1.1, since this would allow me,
to give you more support and immediately fix any problems.

Please give more information about your environment (system, java, ide,
...)

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