Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On 12/26/2015 10:08 AM, Srishti Khatri wrote:
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​
​hamcrest-core-1.3.jar​.

If you look into configure.ac lines 11998 and following, it looks (among other things) for a junit.jar or junit4.jar in /usr/share/java, but not for a junit-4.12.jar.

So either rename /usr/share/java/junit-4.12.jar to /usr/share/java/junit4.jar, or put --with-junit=/usr/share/java/junit-4.12.jar into your autogen.input.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.