sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35184
Re: [Question #272485]: [1.1.0] OS X: sikulixapi.jar in /Library/Java/Extensions: does not work with jython from command line --- workaround
Question #272485 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272485
Description changed to:
***** workaround
put sikulixapi.jar somewhere else in a normal folder and use the
CLASSPATH environment variable
export CLASSPATH=<path-to>/sikulixapi.jar
jython
---------------------------------------
I've tried several different ways to get this to work appropriately but
am coming up short.
rwilliams15m:bin raywilliams$ jython
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_45
Type "help", "copyright", "credits" or "license" for more information.
>>> import org.sikuli.basics. SikulixForJython
[error] RunTimeAPI: *** terminating: JythonHelper: no Jython on classpath
rwilliams15m:bin raywilliams$ echo $CLASSPATH
/Library/Java/Extensions/sikulixapi.jar
The jython instance crashes immediately after sending the import org.sikuli.basicas SikulixForJython
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.