Well, I do not get why you did not
test this by yourself, so I guess there is an underlying question that you did not asked correctly.
This is the output, you can test it yourself...
It happens because you have not loaded the library with the method implementation with System.loadLibrary.
Such a library could be a dll or so file implemented in C/C++ containing the code of someMethod().
You can use javah command line tool to generate the C header files with the necesary definitions to implement the native methods declared in your class in C/C++.
Regards,
Edwin Dalorzo.
[ January 15, 2006: Message edited by: Edwin Dalorzo ]