<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>