using jython

I am attempting to run the JPythonEditor as described in the
jython-visad tutorial under the section entitled "The
visad.python.JPythonEditor"

I get these errors when attempting to run from the command line as
indicated. I haven't peeked at the source yet, just wondering if anyone
else is having these types of problems (I believe they are very simple
errors). I have jython.jar in my classpath, and even running with the
explicit classpath as indicated in #2 below, JPythonFrame is not finding
the jython stuff. I can run jython from the command line, and I can run
the visad.python stuff from the jython prompt, e.g., the plot example. 

Attempt #1
C:\visad>java -cp visad.jar visad.python.JPythonFrame
visad.VisADException: JPython library not found
        at visad.python.JPythonEditor.<init>(JPythonEditor.java:114)
        at visad.python.JPythonFrame.<init>(JPythonFrame.java:43)
        at visad.python.JPythonFrame.<init>(JPythonFrame.java:38)
        at visad.python.JPythonFrame.main(JPythonFrame.java:54)

Attempt #2
C:\visad>java -cp .;visad.jar;c:\jython-2.0\jython.jar
visad.python.JPythonFrame
visad.VisADException: JPython library not found
        at visad.python.JPythonEditor.<init>(JPythonEditor.java:114)
        at visad.python.JPythonFrame.<init>(JPythonFrame.java:43)
        at visad.python.JPythonFrame.<init>(JPythonFrame.java:38)
        at visad.python.JPythonFrame.main(JPythonFrame.java:54)

thanx
steve upton

BTW, GREAT STUFF!!


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