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.
Hi (again) Tom, I guess the ghost is in my machine!! I attempted to run it again, and it works!! I did however, in between, install a newer version of Java3D, but can't imagine how that has influenced the problem. thanks again steve "Stephen C. Upton" wrote: > > Hi Tom, > > I did try this with an earlier version (around Jan 2001, I think). I > attempted with the newest versions and got the same error. I also > downloaded your prepackaged stuff, but haven't installed it yet. Since > it appears the problem wasn't an obvious one, I'll dig around some more. > I am glad to see that Attempt #2 should at least work ... :-( > > Thanks for the quick response. > > steve > > Tom Whittaker wrote: > > > > Hi Steve... > > > > On the surface, this sure looks like a classpath problem. But...it also > > looks > > like you've covered all the bases. I could simulate the same error > > condition > > by first clearing my CLASSPATH environment variable, and then running your > > "Attemp #1" (no explicit pointer to jython.jar). > > > > However, when I ran something like your Attempt #2: > > > > java -cp .;d:\src\visad.jar;d:\java\jython\jython.jar > > visad.python.JPythonFrame > > > > I got a "normal" start-up of the editor. Since you've apparently also tried > > this setting CLASSPATH in the environment and then just running, "java > > visad.python.JPythonFrame", there must be some other problem... > > > > I notice that Curtis made some changes in this area last month, so perhaps > > you > > could test with an earlier version? I put together a "VisAD pre-packaged > > for > > Windows" file in May, which is found at: > > <http://www.ssec.wisc.edu/~tomw/visadtutor/jyvis.exe> > > > > that I'd ask you to download and unpack it into a NEW directory and see if > > this > > works for you. (Sorry it's large - it's a complete JRE/VisAD/Jython/Java3D > > collection...). That will help. > > > > Thanks. > > > > tom > > > > "Stephen C. Upton" wrote: > > > > > > 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!! > > > > -- > > Tom Whittaker (tomw@xxxxxxxxxxxxx) > > University of Wisconsin-Madison > > Space Science and Engineering Center > > Phone/VoiceMail: 608/262-2759 > > Fax: 608/262-5974
visad
archives: