← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #441818]: Using 3rd party java libraries

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
the spec
com.sun.jna.platform.win32
is not correct, it is
com.sun.jna.win32

tested with Jython 2.7 on commandline:

being in the folder that contains the jna-4.3.0.jar

- take care, that sikulixapi.jar is in the environment list CLASSPATH (Java classpath)
- run Jython interactive prompt
- issue: import org.sikuli.script.SikulixForJython
- issue: from sikuli import *
- issue: load("jna-4.3.0.jar") 

then:
from com.sun.jna.win32 import *

works for me.

I did not test any JNA feature yet ;-)

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