Serge Bernier wrote:

Im tring to load a vrml file with a URL adress:

VRML97Loader loader = new VRML97Loader();
loader.load(getCodeBase(),myVMLfile);

and it trows me the following error:

org.ietf.uri.UnsupportedServiceException: http is not supported

This typically happens when you don't have Xj3D properly installed on the machine. Are you loading this in an applet and also downloading the xj3d JAR files at the same time? In order to be spec compliant, Xj3D does a lot of things like control threads, read configuration files and open arbitrary network connections that an ordinary applet is not permitted to do. That means it must be installed in the lib/ext directory first, before running to correctly function.

--
Justin Couch                         http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler              http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                              - Greg Bear, Slant
-------------------------------------------------------------------

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

Reply via email to