jni.h can't be found [message #161701] |
Wed, 11 January 2006 17:00  |
Eclipse User |
|
|
|
Originally posted by: c.m.valdivia.gmail.com
I just installed cdt in my eclipse (windows). I got it working for a
simple hello world. But I then tried the following code:
#include <iostream>
#include <jni.h>
using namespace std;
int main() {
cout << "Hello, world" << endl;
}
And the compile failed due to the #include <jni.h>. My compiler is MinGW.
I'm not sure what is happening. I've tried adding /jdk1.4.2_10/include
into the include system environment variable and played with the linker.
But I really don't know what I'm doing. I'm very new to c/c++. I searched
earlier posts, but nobody seemed to ask this particular question. Thanks
for any help.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.15363 seconds