Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Google Chrome keeps telling me that I need to update icedtea, I tried installing them from 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?

@Ben Hague thank you, your answer fixes the first error, but now i see

checking for javah... no
checking for gjavah... no
configure: error: "A Java header generator was not found."

Shouldn't javah be bundled with jdk?

share|improve this question

1 Answer 1

Looks like Ubuntu puts it a different directory to what IcedTea expects. Try

sudo ln -s /usr/lib/jvm/java-7-openjdk-amd64/ /usr/lib/jvm/java-1.7.0-openjdk
share|improve this answer
    
please read my edit –  Eli Sep 12 '12 at 13:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.