jdk home director could not be found

view story

http://askubuntu.com – Google chrome keeps telling me that i need to update icedtea, i tried installing them fom terminal, didn't work so i'm installing icedtea and icedtea-web from source, when i do ./configure it tells me that fastjar isn't installed so i installed it, then it tells me that gawk isn't installed and i installed it and now it says: checking for a JDK home directory... configure: error: "A JDK JDK home directory could not be found. i have openjdk7 installed, how to fix it? (HowTos)