Dear All, I am going to work on a project with Java. The project involves existing C++ code into Java. I have understood that 2 ways of doing this is Corba and JNI. I want to use JNI. I need tutorials on JNI. Kindly send me which book i have to follow or good web sites which teach JNI from a beginners perspective. Your reply is very much appreciated.
Things to consider: - Full source code for NewJNI libraries is included, which can help you learn JNI. - NewJNI is only implemented for Windows at this time, although the source code is overall very portable C++ and JNI.
Joined: Mar 18, 2003
Hello, I tried to implement the example given in java.sun.com for JNI tutorials. Its the HelloWorld example. I compiled the HelloWorld program, but when the next instruction of creating a header file using javah -jni HelloWorld is not working. It says class HelloWorld could not be found. Why is this error. Your reply is very much appreciated.