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.
Paul: A couple of thoughts on this. In the Windows world, I wanted to make it easy to get rolling with VisAD and Jython, so I periodically create an install file that contains everything they need -- Java, Java3D, visad.jar, jython.jar and some scripts to get things rolling. Perhaps you can take this approach as well for your project? WebStart might also be an option. I also know that InstallWnere-Now (the freebie from zerog we use for packaging programs in windows) can install a Java runtime that is customizable -- that is, you could include Java3D. Secondly, yes you can probably use Java2D since none of that side imports the J3D stuff (I believe) but I wanted to mention a trade-off I've encountered recently: If you have images that need to be reshaped when displayed as a texture map (for example, a satellite image that you're displaying in a VisAD box that has Latitude and Longitude as it's axes), Java2D is considerably slower to display this than Java3D. On the other hand, if you resample the image first into a rectangle then Java2D will do the job. Hope that helps. tom On Wed, 10 Jul 2002, Paul Shannon wrote: > I am brand new to VisAD, and having trouble running the first > example in Ugo Taddei's tutorial. I get this exception: > > java.lang.NoClassDefFoundError: javax/media/j3d/Behavior > > After reading the mailing list archive, I see that the > recommended solution is to get a copy of Java 3D from sun. > I am using java 1.4 on linux, and it appears that this > library is not part of the standard distribution. > > However, all of my users will be obliged to do the same. This > presents a pretty big obstacle to my using VisAD. I was > just beginning to imagine all of the great things we could > do with VisAD.... > > Is it possible to use VisAD -without- Java 3D, as long as > I am content with only 2D graphics? > > Thank you. > > - Paul Shannon > > -- Tom Whittaker University of Wisconsin-Madison Space Science and Engineering Center Cooperative Institute for Meteorological Satellite Studies Telephone/VoiceMail: 608.262.2759
visad
archives: