Hi Karsten:
I'm using Java 3D 1.3 and I don't see these exceptions listed in the
API. What version of 3D was this for? Do you know if this works for 1.3?
thanks,
Mona
> i use the following to detect Java3D
>
> try {
>
> // initialize some J3D object (don't include any J3D object in the
members of the class implementing this
> // otherwise the ClassLoader will throw this exception and you are not
able to catch it.
> new javax.media.j3d.Canvas3D();
>
> }
> catch ( NoClassDefFoundError e ) { // jar files not there
>
> hasJava3D = false;
>
> }
> catch ( UnsatisfiedLinkError e ) { // dll's not there
>
> hasJava3D = false;
>
> }
> catch ( ExceptionInInitializerError e ) {
>
> hasJava3D = false;
>
> }
==================================================================
Mona Wong-Barnum
National Center for Microscopy and Imaging Research
University of California, San Diego
http://ncmir.ucsd.edu/
"The truth shall set you free, but first it will piss you off"
Gloria Steinem
==================================================================
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".