title: Cannot open include file: 'jni.h': No such file or directory
body: <p>I am trying to use the C++ version of <a href="http://voce.sourceforge.net/" rel="nofollow noreferrer">voce</a> voice recognition API. It is an API built in Java, with support to C++ as well. However, whenever I am trying to execute it, I am getting the error </p>
  
  <pre><code>C:\Users\yohan\Documents\Extra C++ Libs\Voice Recognition - Voce API\voce-0.9.1\src\c++\voce.h:34: error: C1083: Cannot open include file: 'jni.h': No such file or directory
  </code></pre>
  
  <p>This is my .pro content</p>
  
  <pre><code>#-------------------------------------------------
  #
  # Project created by QtCreator 2013-04-26T12:59:05
  #
  #-------------------------------------------------
  
  QT       += core
  
  QT       -= gui
  
  TARGET = Tired
  CONFIG   += console
  CONFIG   -= app_bundle
  
  TEMPLATE = app
  
  
  SOURCES += main.cpp
  
  INCLUDEPATH += C:/opencv/build/include
  INCLUDEPATH += C:/opencv/build/include/opencv
  INCLUDEPATH += C:/Program Files/Java/jdk1.7.0/include/
  INCLUDEPATH += C:/Program Files/Java/jdk1.7.0/include/win32
  
  LIBS += C:/opencv/build/x86/vc9/lib/opencv_calib3d240.lib
  LIBS += C:/opencv/build/x86/vc9/lib/opencv_contrib240.lib
  LIBS += C:/opencv/build/x86/vc9/lib/opencv_core240.lib
  LIBS += C:/opencv/build/x86/vc9/lib/opencv_features2d240.lib
  LIBS += C:/opencv/build/x86/vc9/lib/opencv_flann240.lib
  LIBS += C:/opencv/build/x86/vc9/lib/opencv_highgui240.lib
  LIBS += C:/opencv/build/x86/vc9/lib/opencv_imgproc240.lib
  LIBS += C:/opencv/build/x86/vc9/lib/opencv_objdetect240.lib
  LIBS += C:/opencv/build/x86/vc9/lib/opencv_video240.lib
  
  HEADERS +=
  </code></pre>
  
  <p>This is the code for <strong>Main.cpp</strong></p>
  
  <pre><code>#include "C:/Users/yohan/Documents/Extra C++ Libs/Voice Recognition - Voce API/voce-0.9.1/src/c++/voce.h"
  
  int main()
  {
  
  
  }
  </code></pre>
  
  <p>A small part of the code of <strong>voce.h</strong> is given below</p>
  
  <pre><code>#ifndef VOCE_H
  #define VOCE_H
  
  // This file contains a C++ interface for Voce's Java functions.  All of 
  // the Java methods in Voce's API are instance methods, so we don't need 
  // to handle class methods here.  For documentation on the specific 
  // functions, refer to the API documentation for the Java source.
  
  #include &lt;jni.h&gt;
  #include &lt;iostream&gt;
  #include &lt;string&gt;
  
  /// The namespace containing everything in the Voce C++ API.
  namespace voce
  {
  #ifdef WIN32
  const std::string pathSeparator = ";";
  #else
  const std::string pathSeparator = ":";
  #endif
  
      /// Contains things that should only be accessed within Voce.
      namespace internal
      {
          /// Global instance of the JNI environment.
          JNIEnv* gEnv = NULL;
  
          /// Global instance of the Java virtual machine.
          JavaVM *gJVM = NULL;
  
  //Code Continues..........................................
  </code></pre>
  
  <p>How can I get rid of this error? I am using QT, the latest version which use the Visual Studio 2010 compiler.</p>