Re: Under Linux, Call java from C++
- From: tony_lincoln@xxxxxxxxx
- Date: 30 Sep 2005 08:59:19 -0700
You are right. My java version is 1.4.2_05.
So I changed the codes into
vm_args.version = JNI_VERSION_1_4_2_05;
But the error kept the same:
rakta:~/GAQ$ gcc -Wall -D_REENTRANT -I
/home/gao/java/j2sdk1.4.2_08/include -I
/home/gao/java/j2sdk1.4.2_08/include/linux-c invokeLinux.cpp
invokeLinux.cpp: In function `int main()':
invokeLinux.cpp:24: error: `JNI_VERSION_1_4_2_05' undeclared (first use
this
function)
invokeLinux.cpp:24: error: (Each undeclared identifier is reported only
once
for each function it appears in.)
:-(
.
- Follow-Ups:
- Re: Under Linux, Call java from C++
- From: Gordon Beaton
- Re: Under Linux, Call java from C++
- References:
- Under Linux, Call java from C++
- From: tony_lincoln
- Re: Under Linux, Call java from C++
- From: Gordon Beaton
- Re: Under Linux, Call java from C++
- From: Roedy Green
- Re: Under Linux, Call java from C++
- From: Gordon Beaton
- Re: Under Linux, Call java from C++
- From: tony_lincoln
- Re: Under Linux, Call java from C++
- From: tony_lincoln
- Re: Under Linux, Call java from C++
- From: Gordon Beaton
- Under Linux, Call java from C++
- Prev by Date: Re: JNI C++ importatn process
- Next by Date: Re: Under Linux, Call java from C++
- Previous by thread: Re: Under Linux, Call java from C++
- Next by thread: Re: Under Linux, Call java from C++
- Index(es):
Relevant Pages
|