JDK 1.8 on Linux missing JNI include file

后端 未结 3 2016
终归单人心
终归单人心 2021-02-12 17:33

I am trying to compile the following project:

https://github.com/entropia/libsocket-can-java

I always get this error message? Does anyone know

3条回答
  •  隐瞒了意图╮
    2021-02-12 18:13

    It is also possible that there are more than one JDK that have been deployed, and the one that is linked to $JAVA_HOME is not the correct one. You need to update $JAVA_HOME to that that contains the jni_md.h file.

提交回复
热议问题