JNI : problems with C++ and stubs...
843829Jul 19 2002 — edited Jul 20 2002
Hi,
I m learning how to deal with C++ objects within a java project,
I m using J2SESDK 1.4..
in all the tutorials I ve found about it, I have to use javah with the option "-stubs" but when I do so , I get the error:
"E:\javah -stubs Test
Error: JNI does not require stubs, please refer tothe JNI documentation."
and in the headers from the tutorial , there is an #include <StubPreamble.h>
and "<StubPreamble.h> is part of the JDK, and includes a number of important system declarations.
Well, I don't have it in my latest 1.4 SDK.....
Is there anybody who could help me or give me some links to good tutorials???( the one from java.sun is extremly brief about the C++ point...)
Thanx by advance
Kymil