Ah right.
Writing native methods involves 3 steps:
1) create the headers. javah can create C/C++ headers for you.
2) implement the functions declared in the headers. Perhaps you can use the C++ plugin for Eclipse for that.
3) compile the code. Again, perhaps the C++ plugin will do that.
I'm sure you can find some useful links with
eclipse jni.