简体   繁体   English

jythonc无法识别为内部或外部命令

[英]jythonc is not recognized as an internal or external command

I've been trying to compile Jython .py files into Java .class files, yet whenever and wherever I try to run " jythonc ". 我一直在尝试将Jython .py文件编译为Java .class文件,但是无论何时何地,我都尝试运行“ jythonc ”。 Here's how my environment variables are set: 这是设置环境变量的方式:
JYTHON_HOME is set in where jython.jar is (the install directory) JYTHON_HOME设置在jython.jar所在的位置(安装目录)
JYTHONPATH is the install directory's bin folder JYTHONPATH是安装目录的bin文件夹
I'm using Jython 2.7.0 and Python 3.4.3. 我正在使用Jython 2.7.0和Python 3.4.3。

That error indicates that jythonc is not on the PATH . 该错误表明jythonc不在PATH You will need to set the PATH environment variable so that it contains the Jython bin folder. 您将需要设置PATH环境变量,使其包含Jython bin文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM