java3D question.
1 posts in topic
Flat View  Flat View

Posted By:   johannes_rainer
Posted On:   Tuesday, January 14, 2003 02:36 AM

run java3d applications / applets without having to install java3D


is it possible to run a application or applet which uses
java3d on a computer that has not installed java3D? could
this be done by adding the required jars to the
application? i tried this and have added the java3d jars
to my applet jar, but when i start this applet from a
computer whithout java3d i get the error "no J3D in

what can i do?

Re: java3D question.

Posted By:   Stephen_McConnell  
Posted On:   Wednesday, January 15, 2003 05:04 AM

There are a couple problems:

  1. You would have to know what OS the client has. The java3D API's rely heavily on the underlying OS Graphics engine -- either DirectX or OpenGL to run and they are specifically designed for that.

  2. You would have to place ALL the required classes in the jar file for that Applet or load a separate jar file with your applet onto the client computer. Which is a pain and takes a Loooonnnnggggg time.

The best thing is to require that the client loads the Java3D classes for his computer BEFORE you load your Applet. You can catch the "Class Not Found" exception when you try and access your firest Java3D API and request the client to install it.

The java3D APIs are cool, AND are portable IF the underlying 3D jars are loaded on the client machine.

Stephen McConnell

About | Sitemap | Contact