Windows DLL in Linux-JVM?
1 posts in topic
Flat View  Flat View

Posted By:   Kunal_Sachdeva
Posted On:   Sunday, September 19, 2004 02:21 PM

Hi Folks,
I have RH 9 running some astronomical based applications. I need to implement a logic which is currently supported just in WIndows. Lukcily I have a Windows DLL completely based on the JNI interface standards. I would like make some calls from this DLL from my JAVA program running under Linux. Is it possible to achieve this? I mean will Sytem.loadLibrary work? If yes then could somebody pls provide me any previous experience or any document where I could find some useful information.
Most of the developers tried using Windows JVM using WINE to execute this kind of scenario. Doesnt make sense If I write to the Wine group,when I dont think I would need it.

Re: Windows DLL in Linux-JVM?

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, October 2, 2004 08:41 AM

It might be easier and quicker, just to run the DLL on a Windows box. Perhaps write a simple wrapper for it, maybe a servlet and/or web service, which accepts remote connections, passes the parameters to the DLL for computation, and sends back responses.

Then contact this servlet, from your main Linux application.

About | Sitemap | Contact