JPython install question
hzhu at users.sourceforge.net
Thu Sep 7 03:08:09 CEST 2000
On Thu, 07 Sep 2000 00:39:52 GMT, Huaiyu Zhu <hzhu at users.sourceforge.net> wrote:
>Went back to /usr/local/lib/java/JPython-1.1/org/python/core/, and found 68
>.java files sitting there, without .class files. I tried to compile a few of
>them but got errors. Should there be .class files shipped with JPython?
>Or maybe I'm doing something silly.
OK, found out that 'javac PyObject.java' would compile most of them. (The
previous errors were also caused by user permission, etc.)
There are still some warnings, though, but the program runs:
# javac org/python/core/PyObject.java
Note: 5 files use or override a deprecated API. Recompile with
"-deprecation" for details.
$ java hello
'import exceptions' failed; using string-based exceptions
Are these expected or did I get an older jpython?
More information about the Python-list