Issue using clang compiler and analyzer with libreoffice

John Smith lbalbalba at
Tue Aug 14 10:05:33 PDT 2012

On Tue, Aug 14, 2012 at 6:30 PM, John Smith <lbalbalba at> wrote:
> checking if gij knows its java.home... /usr/lib/jvm/java-1.7.0-openjdk-
> checking for jawt lib name... configure: error: jni.h could not be
> found. Mismatch between gcc and libgcj or libgcj-devel missing?
Hrm. looks like I have been using a mix of java jre 1.7 and javac jdk 1.5

Simply running :

alternatives --config java
alternatives --config javac

Fixed it for me.

Thanks anyway,


John Smith.

More information about the LibreOffice mailing list