sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41239
[Question #441818]: Using 3rd party java libraries
New question #441818 on Sikuli:
https://answers.launchpad.net/sikuli/+question/441818
Hi,
What is the best way to use 3rd party Java libraries with the SikuliX IDE?
Since this is Jython, I tried using load(...), which does add the jar to the sys.path variable, but the import statement fails.
I'm trying to use JNA (https://github.com/java-native-access/jna) so I can look through the window titles and find the one and then bring it to the front.
load('jna-4.3.0.jar')
load('jna-platform-4.3.0.jar')
from com.sun.jna.platform.win32 import *
[error] ImportError ( No module named jna )
Thanks
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.