Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

java 3d API question

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have installed Java 3D API software and wanted to start some
test programs, but all of them failed. The error messages are nearly identical, indicating NoClassDefFoundError. For example, the following error appears if I try to start HelloUniverse:

"
C:\jdk1.2\demo\java3d\HelloUniverse>java HelloUniverse
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/media/j3d
GraphObject
"
Any idea how this could be corrected? Assume that JDK1.2 is installed without a fault.
Thanks in advance,
Andrey
 
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Andrey,
Don't be mad but HelloUniverse is an applet
So ... appletviewer ...
Take care.
Vladan

Originally posted by andrey zvonerev:
I have installed Java 3D API software and wanted to start some
test programs, but all of them failed. The error messages are nearly identical, indicating NoClassDefFoundError. For example, the following error appears if I try to start HelloUniverse:

"
C:\jdk1.2\demo\java3d\HelloUniverse>java HelloUniverse
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/media/j3d
GraphObject
"
Any idea how this could be corrected? Assume that JDK1.2 is installed without a fault.
Thanks in advance,
Andrey


 
andrey zvonerev
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot, it works with appletviewer indeed. However,it is also supposed to work two other ways, isn't it?
- with the help of a browser
- using java HelloUniverse
There is also a general file java3d\index.html to launch all demo applications, which does not work. I think that either I have missed something in the installation process, or there is a bug I am not aware of. I also suspect that since this 3D software has been developed by the Sun Microsystems already three years ago, there should be a ready answer to these simple questions somewhere in a support website. Do you know if this support (on- or offline) exists?
Sincerely,
Andrey
 
Vladan Radovanovic
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Well these are all applets and they can be run with either appletviewer command or in your browser. To run it in Your browser You need a plug_in that is automatically installed when You installed jdk. The index page shows up, however I am getting the error if I want to invoke applets with the browser.
I suggest You just browse sun's 3D forum. Chances are that someone has encountered problems like these already and there should be an answer for them too.
Vladan
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic