I've been trying to compile Jython .py
files into Java .class
files, yet whenever and wherever I try to run " jythonc
". Here's how my environment variables are set:
JYTHON_HOME
is set in where jython.jar is (the install directory)
JYTHONPATH
is the install directory's bin folder
I'm using Jython 2.7.0 and Python 3.4.3.
That error indicates that jythonc
is not on the PATH
. You will need to set the PATH
environment variable so that it contains the Jython bin
folder.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.