Error in autoconfig on OSX-- cannot find JUnit 4

Jan-Marek Glogowski glogow at
Mon Dec 28 05:37:53 PST 2015

Hi Srishti

Am 26.12.2015 um 10:08 schrieb Srishti Khatri:
> I know this issue has been raised previously, but I can't seem to derive
> much help from the previous thread.
>> checking for JUnit 4... configure: error: cannot find JUnit 4 jar; please
>> install one in the default location (/usr/share/java)
> ​Thing is, I installed junit-4.12.jar in /usr/share/java, alongside​

The script looks for junit4.jar or junit.jar.

But most "--with" options allow to provide an absolute path. Just check
"./configure --help".

--with-junit=<absolute path to JUnit 4 jar>

> ​hamcrest-core-1.3.jar​.
> Any help will be very appreciated.



More information about the LibreOffice mailing list