问题描述
我在Ubuntu上设置了Saxon/C扩展
Im setting up Saxon/C extension on Ubuntu
安装Java设置系统环境变量
Installing JavaSet the System Environment Variable
/usr/local/Saxonica/Saxon-HEC1.1.0/Saxon.C.API/SaxonProcessor.h:10:10:致命错误:jni.h:Datei oder Verzeichnis nicht gefunden #include
/usr/local/Saxonica/Saxon-HEC1.1.0/Saxon.C.API/SaxonProcessor.h:10:10: fatal error: jni.h: Datei oder Verzeichnis nicht gefunden #include
执行"make"命令后,此错误出现
After i executed the "make" command, this error crop up
推荐答案
在Saxon/C 1.1.0中,必须单独下载jni头文件.通常它们在java安装中.
In Saxon/C 1.1.0 the jni header files have to be downloaded separately. Usually they are in the java install.
但是,如果下载的是最新版本的Saxon/C 1.1.2,则jni标头位于下载中.请参阅: https://www.saxonica.com/download/c.xml 为何无法升级到最新版本?
However, if you download the latest version of Saxon/C 1.1.2 the jni headers are in the download. See: https://www.saxonica.com/download/c.xmlAny reason why you cannot move forward to the latest version?
这篇关于撒克逊人找不到"jni.h"文件.文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!