javajava-native-interfacejnaerator

Generate Java classes from .dll


I have a device which I want to access from java. The only way to do this is using a dll library provided by the manufacturer. I have read about JNI, JNA etc. and maybe there is a tool outside which analyses the dll and generates the Java classes automatically.

Does anybody know a way of doing this?


Solution

  • Finally we used jawin to generate the Java classes for accessing the the .dll. The jawin typebrowser tool was the only one that could handle the C++ .dll we were trying to access.

    Unfortunately the jawin project is no longer developed. The last version is dated to early 2005.