java: Changed JNI version to 1.6
This change is needed to compile/run with OpenJDK 7, as well as with OpenJDK 8. Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
12b5130c1a
commit
029e08669c
@@ -80,7 +80,7 @@ class Spi;
|
||||
lang_func->java_create_global_ref = &mraa_java_create_global_ref;
|
||||
lang_func->java_delete_global_ref = &mraa_java_delete_global_ref;
|
||||
}
|
||||
return JNI_VERSION_1_8;
|
||||
return JNI_REQUIRED_VERSION;
|
||||
}
|
||||
%}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user