JPython install question
hzhu at users.sourceforge.net
Thu Sep 7 02:39:52 CEST 2000
On 6 Sep 2000 09:45:16 GMT, Calvelo Daniel <dcalvelo at pharion.univ-lille2.fr>
>Huaiyu Zhu <hzhu at yahoo.com> wrote:
>: After getting JPython11.class and running java on it, is there any other
>: step needed for the installation? The installed directories only have .java
>: but not .class files, and when I run make in it, make complains about jikes
>: not found. There is no README, and I seem to have lost my way in the online
>: instructions of install. Thanks for any clarification. (This is on Linux,
>: but I'll also need it on NT, Solaris, HP-UX later on.)
>AFAIremember there's no need of make; the installer (you got that one,
>didn't you) puts a JPython.jar into the directory you specify. Then you
>have the usual CLASSPATH java nightmare, but that's all.
I did got it install into /usr/local/lib/java/JPython-1.1 and put this in
CLASSPATH. I got jpython to produce a hello.class. When running java
hello, I got java.lang.NoClassDefFoundError: org/python/core/PyObject.
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.
More information about the Python-list