title: Can I use Sikuli as an Jython library in my project?
body: <p>Sikuli is really cool, but it's working in its buildin Jython environment, the Sikuli IDE.</p>
  
  <p>So I m wondering is it possible to import Sikuli as an external library to my Jython library? I saw from Sikuli's website that they have this Python module which provides all Sikuli actions like click and type.  Here is the link: <a href="http://sikuli.org/documentation.shtml#doc/pythondoc-python.edu.mit.csail.uid.Sikuli.html" rel="nofollow noreferrer">http://sikuli.org/documentation.shtml#doc/pythondoc-python.edu.mit.csail.uid.Sikuli.html</a></p>
  
  <p>I have tried importing the skiuli-script.jar and add the skiuli-script/Lib to the PYTHONPATH. Then in my spike.py script, I try to do this:</p>
  
  <pre><code>import python.edu.mit.csail.uid.Sikuli 
  
  capture() #enter to screen capture mode
  </code></pre>
  
  <p>then when execute the script, I got this error:</p>
  
  <pre><code>java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: /eclipse_3.4.2/workspace/Jython/src/tmplib/libVDictProxy.jnilib:  no suitable image found.  Did find:  /eclipse_3.4.2/workspace/Jython/src/tmplib/libVDictProxy.jnilib: no matching architecture in universal wrapper
  </code></pre>
  
  <p>I m using Jython 2.2.1 and Mac 10.6.2 (32-bit mode). I have also set to use 32-bit mode first in Java Preference. </p>