One key thing is to be sure the jpython.jar file (from the
JPython install) is in your CLASSPATH. I just copied it into
the visad/python directory, since all my scripts are there
anyway, and "./" is always in my CLASSPATH.
I also created a convenience batch file (I work on on WindozNT) to run
java -mx256m -Dpython.home=D:\java\JPython11 org.python.util.jpython %1 %2 %3 %4
%5 %6 %7 %8 %9
(I put the installed code in d:\java\JPython11). Hope that helps.
On Wed, 11 Oct 2000, Neil Bomberger wrote:
> I installed JPython 1.1, and then tried to follow the README.python for
> running VisAD python scripts. I typed
> java visad.python.JPythonFrame
> as the readme instructed, and I get the message
> visad.VisADException: JPython library not found
> at visad.python.JPythonFrame.main(JPythonFrame.java, Compiled Code)
> I noticed that JPythonEditor.java uses
> org.python.util.PythonInterpreter, so I added the directory containing
> the directory org/ to my CLASSPATH, but this didn't help.
Tom Whittaker (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center