Java Native Interface

Helper Plugin for JNI?

Jessica Thornsby

Doug Schaefer has called for the community’s help in creating a Java Native Interface (JNI) helper plugin, which would automatically create the code required for JNI development. JNI is a programming framework that allows Java running in a JVM to call and to be called by native applications.

He proposes two scenarios. The first, is generating basic C code for Java native methods, and the other is generating wrapper Java classes for C++ classes. He points to the pre-existing Java and C++ parsers and the code generation frameworks within the Eclipse ecosystem, as tools that could aid the creation of this plugin. In addition, Android uses JNI for its native interface, opening up a whole new community, should this plugin go ahead.

Please see Schaefer’s blog, for more information on this proposed plugin.


Leave a Reply

Your email address will not be published.