You have to tell your compiler where is the include directory. Something like this:
gcc -I/usr/lib/jvm/jdk1.7.0_07/include
But it depends on your makefile.
More Related Contents:
- What causes and what are the differences between NoClassDefFoundError and ClassNotFoundException?
- What is a classpath and how do I set it?
- Find where java class is loaded from
- Call “java -jar MyFile.jar” with additional classpath option
- java.lang.ClassNotFoundException in spite of using CLASSPATH environment variable
- Intellij Cannot resolve symbol on import
- Scanning classpath/modulepath in runtime in Java 9
- What does a JVM have to do when calling a native method?
- Including jar files in class path
- How can I save a file to the class path [closed]
- Java Native Access doesn’t do C++, right?
- What is a native implementation in Java? [duplicate]
- Can I call Java from Node.js via JNI and how?
- How do I get a list of JNI libraries which are loaded?
- Adding external resources to class-path in Tomcat 8
- Getting Ant to recognise a classpath
- What is the ‘correct’ way to store a native pointer inside a Java object?
- Is there a Java library of Unix functions?
- Error “A JNI error has occurred. Please check your installation and try again in Eclipse x86 Windows 8.1”
- How to read text file from classpath in Java?
- Java – Loading dlls by a relative path and hide them inside a jar
- Adding to the classpath on OSX
- What is the quantitative overhead of making a JNI call?
- Pinning a Java application to the Windows 7 taskbar
- Is there any way to pass a Java Array to C through JNI without making a copy of it?
- Using a java class from Delphi
- Weblogic 10.3.1.0 is using com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar… I want to use commons-net-2.0.jar from my code
- How can I read file from classes directory in my WAR?
- C++ ifstream.getline() significantly slower than Java’s BufferedReader.readLine()?
- Eclipse classpath entries only used for tests