NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: JPython library not found

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
scripts from:

@setlocal
@echo off
java -mx256m -Dpython.home=D:\java\JPython11 org.python.util.jpython %1 %2 %3 %4
 %5 %6 %7 %8 %9
@endlocal

(I put the installed code in d:\java\JPython11). Hope that helps.

tom


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.
> 
> -Neil
> 
> 


--
Tom Whittaker  (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center
Phone/Voicemail: 608/262-2759  
Fax: 608/263-6738


  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: