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

Jiri Vanek jvanek at redhat.com
Mon Dec 18 09:37:33 UTC 2017


On 12/18/2017 12:48 AM, Albretch Mueller wrote:
>   OK, I followed your instructions if not exactly pretty well. I
> started, as you suggested, by installing the latest jdk:

Jdk, right? Not only jre? Just ensuring....
> 
> $ java -version
> openjdk version "1.8.0_131"
> OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-1~bpo8+1-b11)
> OpenJDK Server VM (build 25.131-b11, mixed mode)
> 
>   but I icedtea is not taking the JDK in. While trying to configure it:
> 
> _LOG="icedtea-web-1.6.2_install_$(date +%Y%m%d%H%M%S).log"
> 
> time (./configure
> --with-jdk-home="/usr/lib/jvm/java-8-openjdk-i386/jre/bin/java"
> --prefix="/home/debian/inst/sw/jnlp/icedtea") >> "${_LOG}" 2>&1
> 
> 

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"

Btw, why do you need self compiled ITW?

hth,
   J.


More information about the distro-pkg-dev mailing list