H
H
hHup2018-04-03 14:27:26
C++ / C#
hHup, 2018-04-03 14:27:26

How to find the jni.h file?

I'm trying to compile from .h and .cpp, throws out such an error, how to fix it.

C:\Users\lenovo\Desktop\C++>cl -I"%JAVA_HOME%\include" -I"%JAVA_HOME%\include\win32" -LD NativeCallsClass.cpp -FeNativeCallsClass
Оптимизирующий компилятор Microsoft (R) C/C++ версии 19.00.24231 для x64
(C) Корпорация Майкрософт (Microsoft Corporation).  Все права защищены.

NativeCallsClass.cpp
c:\users\lenovo\desktop\c++\my_mega_pack_NativeCallsClass.h(2): fatal error C1083: Не удается открыть файл включение: jni.h: No such file or directory

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question