Michael P. McCutcheon wrote:
Why does this code not work?

I keep getting some ugly exception about missing classes.  I'm using all
the jar files contained in
the .tar download of M6.  See below for code and error message.  What
.jar file am I missing?


error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/j3d/loaders/ManagedLoader
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
        at
This class is located in j3d-org.jar
Either thats not in your classpath, or you have an old copy floating
around in your classpath or lib/ext directory.  Remember that any file
in your lib ext will be loaded so something like j3d-org.bak would load
as well.

Try this:

javap org.j3d.loaders.ManagedLoader

then move the j3d-org.jar you are using someplace else and try again.
If it still find the class then you have it somewhere else in your
classpath.


Why X3DUtil would even compile is another mystery but maybe your compile
environment is different then your execution.

--
Alan Hudson
President: Yumetech, Inc.                      http://www.yumetech.com/
Web3D Open Source Chair        http://www.web3d.org/TaskGroups/source/

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