diff --git a/linux/Makefile b/linux/Makefile index 2529908..3ed7a69 100755 --- a/linux/Makefile +++ b/linux/Makefile @@ -11,7 +11,8 @@ JNIOBJS=HIDManager.o HIDDeviceInfo.o HIDDevice.o hid-java.o JAVA5HEADERS=-I/opt/jdk1.5.0/include/ -I/opt/jdk1.5.0/include/linux JAVA6HEADERS=-I/usr/lib/jvm/java-6-openjdk/include/ -I/usr/lib/jvm/java-6-openjdk/include/linux JAVA7HEADERS=-I/usr/lib/jvm/jdk1.7.0/include/ -I/usr/lib/jvm/jdk1.7.0/include/linux -JNIINCLUDES=-I.. -I../jni-impl $(JAVA5HEADERS) $(JAVA6HEADERS) $(JAVA7HEADERS) +JAVADEFAULTHEADERS=-I/usr/lib/jvm/default-java/include/ -I/usr/lib/jvm/default-java/include/linux +JNIINCLUDES=-I.. -I../jni-impl $(JAVA5HEADERS) $(JAVA6HEADERS) $(JAVA7HEADERS) $(JAVADEFAULTHEADERS) JNILIBS= JNISHAREDLIB=libhidapi-jni.so JNISHAREDLIBVER=1.0