checking for a JDK home directory... configure: error: "A JDK home directory could not be found. "

Jiri Vanek jvanek at
Mon Dec 18 12:19:43 UTC 2017

On 12/18/2017 01:16 PM, Albretch Mueller wrote:
> On 12/18/17, Jiri Vanek <jvanek at> wrote:
>> The issue is here. That is with-jdk-home, not with java binary :)
>> You should be happy with:
>> --with-jdk-home="/usr/lib/jvm/java-8-openjdk-i386"
>   this is why, especially while installing software the "hard way", you
> should not be doing/thinking about more than one thing ;-)
>> Btw, why do you need self compiled ITW?
>   For more than one good reason I like to know what the installation
> assumptions are and how my baseline relates to them. Also, I have 0
> zero trust towards anything Internet or being transferred over it.

If you dont trust your debian maintainers, you are doomed! ..and shoudl move to Gentoo :)

>   Now I have another "GLIB_CFLAGS and GLIB_LIBS" related problem:

Hmm. I'm not sure what can be wrong. Doyou have devel version of glibc?
I can not give you more info then configure is giving you. Pkg config do a lot of work :(

Btw, there is ITW 1.7 out. 1.7.1 have release today. You shoudl be on 1.7 row....

> ~
> . . .
> checking what version string to use... 1.6.2
> checking whether to build the browser plugin... yes
> checking for pkg-config... no
> checking for GLIB... no
> configure: error: in `/home/debian/inst/sw/icedtea/icedtea-web-1.6.2':
> configure: error: The pkg-config script could not be found or is too
> old.  Make sure it
> is in your PATH or set the PKG_CONFIG environment variable to the full
> path to pkg-config.
> Alternatively, you may set the environment variables GLIB_CFLAGS
> and GLIB_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> To get pkg-config, see <>.
> See `config.log' for more details
> ~
>   I will publically post my installation logs  so you are bothered a little less
>   lbrtchx

Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at    M: +420775390109

More information about the distro-pkg-dev mailing list