sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12675
Re: [Question #206427]: Running jython/python scripts from mac terminal with Sikuli linked to NetBeans project
Question #206427 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/206427
Status: Answered => Open
Mathieu Tremblay is still having a problem:
Hi, this is great thanks.
In terminal, i typed the following:
SIKULI_HOME=/Applications/Sikuli-IDE.app/Contents/Resources/Java
JYTHON_HOME=path-to-folder-with-jython.jar (I did point to my folder)
after that, i typed the following:
java -cp $SIKULI_HOME/sikuli-script.jar:$JYTHON_HOME/jython.jar org.python.util.jython path-to-your-script.py (using my path to m script)
and i got the following:
Exception in thread "main" java.lang.NoClassDefFoundError: org/python/util/jython
Caused by: java.lang.ClassNotFoundException: org.python.util.jython
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.