sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51227
Re: [Question #680113]: Running a runnable jar moved to another pc
Question #680113 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680113
Status: Open => Answered
RaiMan proposed the following answer:
You have to move the images to a folder inside your java project and use
the addImagePath() variant, that accepts a Java Class, that is on
classpath at runtime.
see docs.
Be aware: The feature "export as runnable jar" is no longer supported
with 1.1.4+
You will always need a valid SikuliX environment on other machines, to
run your jar there.
java -cp <path-to>/sikulixapi.jar:your.jar your.Main.Class
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.