tags:

views:

31

answers:

1

How can I check if Java 3D is instaled on the client? I can use that to display a message about missing requirements. Thanks in advance!

+3  A: 

You could try loading a class from the Java 3D API and put your logic in the catch statement. ie

try {
    Class.forName("javax.media.j3d.J3DBuffer")
}
catch(final ClassNotFoundException e) {
//Your logic here
}

I know, I know, exceptions should not be expected.

Ceilingfish