how to set JAVA_HOME

Rahul Gurung gurungrahul2 at gmail.com
Tue Oct 9 17:51:00 UTC 2018


While doing my new build, I get this error,


* WARNING : JAVA_HOME was not explicitly informed with --with-jdk-home. the
configure script
* WARNING : attempted to find JAVA_HOME automatically, but apparently it
failed
* WARNING : in case JAVA_HOME is incorrectly set, some projects will not be
built correctly



tried few solutions from google and added --with-jdk-home=path/to/jdk but
it further gives me below error


checking whether to add custom build version... no
configure: error: /usr/lib/jvm//bin/java not found, pass --with-jdk-home
Error running configure at ./autogen.sh line 296.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20181009/a9284e11/attachment.html>


More information about the LibreOffice mailing list