Hi,

I managed to compile UIMA C++ from source in a Mac.

Now I am trying in Ubuntu 16.04.
It is a fresh install. I compiled all recommended dependencies manually.

I am getting issues with the configure command:

./configure --prefix=/home/ubuntu/uima-deps/libs/uima-cpp
--with-jdk=/usr/lib/jvm/java-8-openjdk-amd64/include/
--with-apr=/home/ubuntu/uima-deps/libs/apr
--with-icu=/home/ubuntu/uima-deps/libs/icu
--with-xerces=/home/ubuntu/uima-deps/libs/xerces
--with-activemq=/home/ubuntu/uima-deps/libs/activemq-cpp
--with-apr-util=/home/ubuntu/uima-deps/libs/apr-util

(...)
checking activemq/exceptions/ExceptionDefines.h usability... yes
checking activemq/exceptions/ExceptionDefines.h presence... yes
checking for activemq/exceptions/ExceptionDefines.h... yes
configure: Apache Portable Runtime (APR Util ) library configuration
checking for APR-util... yes
checking jni.h usability... no
checking jni.h presence... no
checking for jni.h... no
configure: error: Unable to find JDK Headers


I double checked the contents of /usr/lib/jvm/java-8-openjdk-amd64/include/ and
tried with the Oracle JDK as well and got the same error.

Anybody managed to compile with Java 8 on Ubuntu?

Thank you,
William

Reply via email to