Wednesday, March 20, 2002 05:30 AM
There is a tool called swig (http://www.swig.org) that can even create the java classes by reading the
C/C++ header files.
And for your question about recompilation. NO!!!. Just create a shared library, based on the JNI, that makes calls to the legacy library and takes care of the translation from/to the Java/C structures. Then use this library from Java and you are finished.
Hope I helped.