← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #248599]: “Could not load any NativeLoader” When Using 1.1.0-Beta1-2.jar --- must be prepared using setup

 

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

RaiMan proposed the following answer:
--- If I do not add the .jar to the path, the interpreter cannot import org.sikuli.basics.SikuliXforJython
this import does not rely on sys.path, but on sikulixapi.jar not being on the java classpath

so what I mentioned should work, if sikulixapi.jar is on class path at runtime.
So after having started the Jython session first check sys.path and java.lang.System.getProperty("class.path")

The other possible reason: the setup with option 2 did not run
successfully (incomplete sikulixapi.jar)

So repeat the setup with an empty folder besides sikulixsetup-1.1.jar.

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