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.
Related Posts:
- How do I resolve ClassNotFoundException?
- What is a classpath and how do I set it?
- A JNI error has occurred, please check your installation and try again in Eclipse x86 Windows 8.1
- Problems with setting the classpath in ant
- Eclipse “Error: Could not find or load main class”
- Failed to load the JNI shared Library (JDK)
- How to fix an UnsatisfiedLinkError (Can’t find dependent libraries) in a JNI project
- How to really read text file from classpath in Java
- package org.json does not exist when importing org.json.JSONObject
- Can’t load IA 32-bit .dll on a AMD 64-bit platform
- Explanation on Integer.MAX_VALUE and Integer.MIN_VALUE to find min and max value in an array
- How to check if a String contains another String in a case insensitive manner in Java?
- Failed to write core dump. minidumps are not enabled by default on client version of windows
- Editor does not contain a main type in Eclipse [duplicate]
- How to replace � in a string
- How to decrypt a SHA-256 encrypted string?
- “Missing return statement” within if / for / while
- How to convert byte array to string and vice versa?
- good example of Javadoc
- How do popBackStack() and replace() operations differ?
- Can’t find mysqladmin on Mac OSX 10.6.8
- What is an AssertionError? In which case should I throw it from my own code?
- How to write a Unit Test?
- Iterate through a HashMap [duplicate]
- Java optional parameters
- Java Undefined Object
- Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
- How to convert an ArrayList containing Integers to primitive int array?
- Left Hand Side of an Assignment must be a Variable CharAt
- Compiling a java program into an executable
- Java Installation Not Completed / Unable to install Java
- Convert an integer to an array of characters : java
- How to compare dates in Java?
- Java integer-double division confusion
- Example of O(n!)?
- A message body writer for Java class java.util.ArrayList and MIME media type application/json was not found
- How to efficiently remove duplicates from an array without using Set
- How to set or change the default Java (JDK) version on macOS?
- How can I create an array of linked lists in java?
- What’s the difference between session.persist() and session.save() in Hibernate?
- This view is not constrained
- Enhanced FOR loops in C++
- How can I create an Array of ArrayLists?
- Create a List of primitive int?
- Compiling error: Return type for the method is missing
- Range of valid character for a base 64 encoding
- How to parse JSON boolean value?
- How to create an 2D ArrayList in java?
- Insert Dimensions to complete Expression/ReferenceType
- Unable to locate tools.jar
- java.lang.NumberFormatException: null i
- How do you #include files in java?
- How to use Java in Visual Studio 2017
- List of Arrays in Java
- Extending from two classes
- Web server failed to start. Port 8080 was already in use. Spring Boot microserviceWeb server failed to start. Port 8080 was already in use. Spring Boot microservice
- Could not resolve placeholder in string value
- All inclusive Charset to avoid “java.nio.charset.MalformedInputException: Input length = 1”?
- javac error: Class names are only accepted if annotation processing is explicitly requested
- JOptionPane YES NO OPTION
- How to check if a String is numeric in Java
- Java Embedding Into HTML
- Why it is mandatory to use “throws IOException”
- Terminating a Java Program
- How to add an image to a JPanel?
- How to create JSON Object using String?
- How to repaint a JPanel after have drawn on it?
- Why doesn’t RecyclerView have onItemClickListener()?
- Inverse Logistic Function / Reverse Sigmoid Function
- java.lang.ClassNotFoundException:com.mysql.jdbc.Driver [duplicate]
- How can I check if a value is of type Integer?
- Using regex to match any character except =
- Why is a ConcurrentModificationException thrown and how to debug it
- How to sort a HashSet?
- Variable used in lambda expression should be final or effectively final
- Populate int array with for loop in Java
- calling boolean method, heads or tails
- Android Color Picker
- How to Delete a topic in apache kafka [duplicate]
- Java Main Game Loop
- “Integer number too large” error message for 600851475143
- How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
- JPA or JDBC, how are they different?
- Why is Netbeans suggesting I “Flip operands of the binary operators” in my Java code
- How to return nothing from a function that returns value?
- Java printf formatting to print items in a table or columns
- How to resolve “Syntax error on token “else”” in Java?
- What’s the difference between Jetty and Netty?
- Is there a way to simulate the C++ ‘friend’ concept in Java?
- Good way to encapsulate Integer.parseInt()
- What is the difference between “Double” and “double” in Java?
- What is the purpose of the default keyword in Java?
- What exactly is Ajax request? Is it different from Servlet Request?
- java ‘jar’ is not recognized as an internal or external command
- A JRE or JDK must be available in order to run Eclipse. No JVM was found after searching the following locations
- Why cannot cast Integer to String in java?
- java.util.ConcurrentModificationException with iterator
- IntelliJ IDEA “The selected directory is not a valid home for JDK”
- Simple timeout in java
- Eclipse message saying List cannot be resolved to a type