<div dir="ltr">Im on Ubuntu, and as far as I remeber I installed java from a file download from website.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, 10 Oct 2018 at 11:34, Eduard Ardeleanu <<a href="mailto:eduardandrei.ardeleanu@gmail.com">eduardandrei.ardeleanu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">For me it's working by having the JAVA_HOME system property set.</div><div dir="ltr">What OS do you use? </div><div dir="ltr">I've used this article to set JAVA configuration in Ubuntu: <a href="https://thishosting.rocks/install-java-ubuntu/" target="_blank">https://thishosting.rocks/install-java-ubuntu/</a> </div><div dir="ltr"><div><br></div><div>echo $JAVA_HOME </div><div>   /usr/lib/jvm/java-8-oracle<br></div><div><br></div><div><div>./autogen.sh  | grep java</div><div>   checking for java... /usr/bin/java</div><div>   checking for javac... /usr/bin/javac</div><div>   checking for javadoc... /usr/bin/javadoc</div><div>   checking for JAWT lib... -L/usr/lib/jvm/java-8-oracle/jre/lib/amd64 -ljawt</div><div>   configure: WARNING: no suitable nasm (Netwide Assembler) found</div><div>   checking for JUnit 4... /usr/share/java/junit4.jar</div><div>   checking for included Hamcrest... Included in /usr/share/java/junit4.jar</div><div>   config.status: creating config_host/config_java.h</div></div><div><br></div><div>Hope it helps.</div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 9, 2018 at 8:51 PM Rahul Gurung <<a href="mailto:gurungrahul2@gmail.com" target="_blank">gurungrahul2@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">While doing my new build, I get this error,<div><br></div><div><br></div><div><div><div>* WARNING : JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script</div><div>* WARNING : attempted to find JAVA_HOME automatically, but apparently it failed</div><div>* WARNING : in case JAVA_HOME is incorrectly set, some projects will not be built correctly</div></div></div><div><br></div><div><br></div><div><br></div><div>tried few solutions from google and added --with-jdk-home=path/to/jdk but it further gives me below error</div><div><br></div><div><br></div><div><div>checking whether to add custom build version... no</div><div>configure: error: /usr/lib/jvm//bin/java not found, pass --with-jdk-home</div><div>Error running configure at ./autogen.sh line 296.</div></div><div><br></div></div></div></div></div>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div>
</blockquote></div>