sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #19059
Re: [Question #231849]: [1.0] assembled .jar at runtime: Native libraries not found
Question #231849 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/231849
Status: Answered => Open
chenx is still having a problem:
how to references in IDE's and -cp at runtime outside of IDE's?
At 2013-07-04 13:36:11,RaiMan <question231849@xxxxxxxxxxxxxxxxxxxxx> wrote:
>Your question #231849 on Sikuli changed:
>https://answers.launchpad.net/sikuli/+question/231849
>
> Status: Open => Answered
>
>RaiMan proposed the following answer:
>Currently moving sikuli-script.jar around or packing it together with
>other jars is a problem.
>
>If nothing else is said, Sikuli expects the libs folder to be in the
>same folder as sikuli-script.jar (or the jar containing it).
>
>On the other hand it is generally not recommended to move sikuli-script.jar around or pack it into fat jars.
>You should leave it in one place outside your project environment and use references in IDE's (not physical copies) and -cp at runtime outside of IDE's. In this case, libs folder will always be found.
>
>If you want to use other approaches, that lead to the above error, then
>you currently have these options:
>
>- set environment variable SIKULIX_HOME to point to the folder containing the libs folder
>- use -Dsikuli.Home as JVM commandline option the same way
>
>I have currently revised the libs concept: the native libs are contained
>in sikuli-script.jar and are deployed to the outside world at runtime
>with different options (will be available with the service update end of
>July and earlier as Beta)
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https://answers.launchpad.net/sikuli/+question/231849/+confirm?answer_id=2
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https://answers.launchpad.net/sikuli/+question/231849
>
>You received this question notification because you asked the question.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.