← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #220554]: how to configurate classpath when using my jars in Sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
It seems, that all your generated/prepared stuff is Java code.

If this is right, then these load()'s are not needed. This only makes
sense, if you have a .jar, that additionally has a Python layer
according to the Sikuli extension structure.

So in your case, make sure, everything is on class path at runtime.

Since you are on Java anyway: Why don't you just stick with Java and use
Sikuli's Java API?

If for some reason, you want to use Python scripting:
the -cp section must be inserted before the -jar entry in Sikuli-IDE-w.bat.

If this does not work, try this on command line:
java -cp your-classpath -jar path-to-sikuli-script.jar path-to-your-script.sikuli

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.