Use readymade dll file in java
Posted on July 8, 2008
Filed Under Java |
How do i use readymade dll file in java?
You need to use JNI (Java native interface). JNI is difficult to use and very unfriendly. From what I can find, you cannot just call an arbitrary DLL, its needs to have been written with JNI in mind. So unless you have the source to your dll, you won’t be able to do it. And if you DO have the source, you will be much better off rewriting it in java. Nevertheless, here is a quick introduction to JNI:
http://www.codeproject.com/KB/java/jniba…
http://www.codeproject.com/KB/java/jniba…
Tags: Java
If you enjoyed this post, make sure you subscribe to my RSS feed!
Comments
Leave a Reply