Re: javax/media/j3d required though not used?

Hi Paul,

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

Tom Whittaker has set up some nice tools for installing
Java, Java3D, VisAD and Jython from one file on Windows,
and I think the Unidata folks have done something like
that for installing via WebStart. Perhaps Tom or Unidata
can comment on easy install for Linux.

> Is it possible to use VisAD -without- Java 3D, as long as
> I am content with only 2D graphics?

You can use VisAD without Java3D by using DisplayImplJ2D
instead of DisplayImplJ3D. These are 2-D only and use

Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738

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