Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » JNI .h file(header file created in Eclipse, the function name does not match the java class file)
JNI .h file [message #698156] Mon, 18 July 2011 22:25
Cmlo  is currently offline Cmlo Friend
Messages: 7
Registered: May 2011
Junior Member
I am new to JNI in Eclipse, and I am doing testing.

I have a TestHello_JNI.class file, in the makefile, I have "javah -jni TestHello_JNI" command, however, in the created TestHello_JNI.h file, it gave me the following, notice there is a "1" in there, is it supposed to give me Java_TestHello_JNI_sayHello ?

JNIEXPORT void JNICALL Java_TestHello_1JNI_sayHello
(JNIEnv *, jobject);

I appreciate if anybody can help me or direct me to where to ask question.
Previous Topic:Makefile generation
Next Topic:test consumed time by command line
Goto Forum:
  


Current Time: Mon Sep 23 19:25:44 GMT 2024

Powered by FUDForum. Page generated in 0.09507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top