撒克逊人找不到"jni.h"文件.文件 [英] Saxon dont find the "jni.h" File

查看:131
本文介绍了撒克逊人找不到"jni.h"文件.文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Ubuntu上设置了Saxon/C扩展

Im setting up Saxon/C extension on Ubuntu

安装Java 设置系统环境变量

Installing Java Set 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.xml Any reason why you cannot move forward to the latest version?

这篇关于撒克逊人找不到"jni.h"文件.文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆