linuxubuntuinstallationsaxonsaxon-c

Saxon dont find the "jni.h" File


Im setting up Saxon/C extension on Ubuntu

Installing Java Set the System Environment Variable

/usr/local/Saxonica/Saxon-HEC1.1.0/Saxon.C.API/SaxonProcessor.h:10:10: fatal error: jni.h: Datei oder Verzeichnis nicht gefunden #include

After i executed the "make" command, this error crop up


Solution

  • In Saxon/C 1.1.0 the jni header files have to be downloaded separately. Usually they are in the java install.

    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?