wrote:
> Does Eclipse support JNI? Can I use Eclipse to generate .h files for
> JNI?
It has no special support for it, but it has the ability to execute
external tools (the toolbar button next to run and debug). With that you
can invoke any program on your computer.
Simply create an external tools launch configuration for invoking the
javah tool. That's what I do. For the tool location, I simply use
"${env_var:JAVA_HOME}\bin\javah.exe". Then when you want to regenerate
the headers simply invoke that launch configuration.
I recommend that you save the launch configuration to your project
(under the Common tab).
--
Dale King