Solved: JNI reported an error: "Cannot open source file jni.h" "JNIEXPORT This statement has no storage class or type specifier"

1. Right-click in the VS project, select " Properties ", select " VC++ Directory " in the pop-up window , and then edit the " Include Directory " on the right
Property page
2. Add includefolders and include\win32folders under the local JDK directory
Add folder

Guess you like

Origin blog.csdn.net/michael_f2008/article/details/88525000
Recommended