Skip to main content

[Java3D] New to java3D and need some help here

No replies
Anonymous

Hey guys, I'm still learning java3D and not even run any examples program
yet.
This is because tehre some error occured when I run the .class file.
After compile the example program that I get from net, it has no error and
successed to create the .class file. But when I run the program, it shows
this:
Exception in thread "main" java.lang.NoClassDefFoundError: Tetrahedron
(wrong name: org/jdesktop/j3d/examples/appearance/Tetrahedron)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

I'm not sure whether I installed the java3D properly or not. Here are my
steps in setting up java3D.
1) Install jdk-1_5_0_06-nb-5_0-win
2)Install java3d-1_3_1-windows-i586-opengl-rt
3)install java3d-1_3_1-windows-i586-opengl-sdk
4)java3d-1_4_0-windows-i586
-copy the file in C:\j3d-140-win that I extracted out from a zip in
java3d-1_4_0-windows-i586 to :
C:\Program Files\Java\jre1.5.0_06\bin,
C:\Program Files\Java\jre1.5.0_06\lib\ext,
C:\Program Files \Java\jdk1.5.0_06\jre\bin,
C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext
as what stated in the instruction in java3d-1_4_0

And I want to import my vrml file to java3D, I already texture mapped my
model in VRML and I want to ask, after imported to java3D, the texture
mapping will be corrupted and not same with what I get in VRML?
Because I texture mapped the model in 3DsMax and export to VRML file, then
import again to java3D, I'm affraid of the texture mapping will be changed
when importing to java3D.

Please help me, I'm new to java3D(just read some tutorial from net) and need
to complete my project as soon as possible. I'm frustating....
Thanks for helping and spending time read my question.
--
View this message in context: http://www.nabble.com/-Java3D-New-to-java3D-and-need-some-help-here-t125...
Sent from the java.net - java3d interest forum at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net