简体   繁体   中英

calling a dll file in a Java EE application on linux

I have a Java web application using struts, Hibernate and spring running on redhat. I am going to search about calling a dll file in my application, its vulnerabilities and consequences. could any one help me about the problems and bugs or errors or maybe it is not possible to do that.

Well, to your Help Microsoft gives a way to call DLL using JNI http://support.microsoft.com/kb/222092

Apart from this you can look at the previous posts at How do I call dll inside Java?

IBM tutorial on JNI will also prove to be useful http://www.ibm.com/developerworks/java/tutorials/j-jni/

To run the dll in Linux environment you might need emulators like WINE or Crossover . But I cannot assure you of success because both Wine and Crossover are not 100% windows compliant.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM