aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Help needed to run a Java3D program! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Help needed to run a Java3D program!" Watch "Help needed to run a Java3D program!" New topic
Author

Help needed to run a Java3D program!

dinesh Venkatesan
Ranch Hand

Joined: Oct 12, 2006
Posts: 134
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
Marshal

Joined: Mar 22, 2005
Posts: 42635
    
  65
The property to set is called j3d.rend, not j3d; see here for details.
[ April 22, 2007: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
dinesh Venkatesan
Ranch Hand

Joined: Oct 12, 2006
Posts: 134
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
Marshal

Joined: Mar 22, 2005
Posts: 42635
    
  65
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

Joined: Oct 12, 2006
Posts: 134
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help needed to run a Java3D program!