首页 > 代码库 > jni.h No such file or directory

jni.h No such file or directory

如果有如下错误:
fatal error C1083: Cannot open include file: ‘jni.h‘: No such file or directory
将以下文件:

\jdk\include\jni.h

\jdk\include\win32\jawt_md.h

\jdk\include\win32\jni_md.h

复制到VS的安装目录下的\VC\include目录中

jni.h No such file or directory