comrade@hp:~/workspace/JNI2/src$ ls
Prompt.c Prompt.class Prompt.h Prompt.java
comrade@hp:~/workspace/JNI2/src$ gcc --shared -o libPrompt.so -I/usr/lib/jvm/java-6-openjdk-i386/include -I/usr/lib/jvm/java-6-openjdk-i386/include/linux -lX11 Prompt.c /usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386/server/libjvm.so
Prompt.c:2:20: fatal error: Prompt.h: No such file or directory
compilation terminated.
Prompt.c :
#include <jni.h>
#include <Prompt.h>
........
私が理解できないことは何ですか?