Archived

This topic is now archived and is closed to further replies.

rajivtm

[java] How do I use DirectX with Java?

Recommended Posts

rajivtm    122
Does anyone know where I can find the libraries required for programming with DirectX in Java or a site with instructions on using it? Thanks for any help you can give me, Rajiv

Share this post


Link to post
Share on other sites
misterX    144
A long time ago, i''ve seen such a library, from microsoft i believe. it''s ages ago. If i remember right, it was called JdirectX, but there was no hit on google, so i suppose it has been abandonned/removed.
There are maybe 2 ways to get it:
-Taking an "amateur" binding to directX, which has no guarantee and usually have developpement lacks.
-Maybe tricking around could make the j# libs for managed DX usable, i''ve no idea, it''s maybe impossible, i don''t know, it''s just an idea.
Else than that, i don''t know how it could be done (exept making your own binding, but that''s too much work).


Otherwise, there are many good alternatives of any kind:
For the quick and easy, there is javanerd''s api
For the officialy used, look at the java media api
For the low-level access fan, there is a SDL port (still under developpement...)

Share this post


Link to post
Share on other sites
tortoise    122
heh, I hope that was a joke

rajivtm, what are your needs with java and directx? You may find a java opengl solution to work, such as LWJGL or JOGL.

Share this post


Link to post
Share on other sites