• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help needed to run a Java3D program!

 
dinesh Venkatesan
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.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • 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: 42967
73
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic