This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Help needed to run a Java3D program!  RSS feed

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I am new to Java3D programming. Please have a look at the following code.


I dont have OpenGL1.2 support. Hence, I tried to run the program like this:

java -Dj3d=d3d Hello3D

I am getting the following exception


Any kind help will be highly appreciated.
Thanks in Advance!!!
dinesh.
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The property to set is called j3d.rend, not j3d; see here for details.
[ April 22, 2007: Message edited by: Ulf Dittmer ]
 
dinesh Venkatesan
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf,

Thanks for the information. But I tried to execute in that way. Now, I am getting the following error.

"The dynamic link library d3d9.dll could not be found in the specified path"

Could you help me in resolving this issue?

Thanks in advance!!!
dinesh.
 
Ulf Dittmer
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like Direct3D (possibly version 9) is not installed properly. I have no idea how to check for that or possibly rectify it.
 
dinesh Venkatesan
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much for pointing out the problem.

Now, I have reinstalled the DirectX 9 and updated it. Now the dll issue is fixed.

But i am getting the following exceptions:

and followed by an error message No compatible device found, please switch to other display mode and try again !

I think i am close to resolving the issues. Can anybody help me in this issue?

regards,
dinesh.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!