3

This question already has an answer here:

I have recently installed openjdk just to try out writing some java application

$ dpkg -l | grep jdk
ii  openjdk-7-jdk                          7u7-2.3.2a-0ubuntu0.12.04.1             OpenJDK Development Kit (JDK)
ii  openjdk-7-jre                          7u7-2.3.2a-0ubuntu0.12.04.1             OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-7-jre-headless                 7u7-2.3.2a-0ubuntu0.12.04.1             OpenJDK Java runtime, using Hotspot JIT (headless)
ii  openjdk-7-jre-lib                      7u7-2.3.2a-0ubuntu0.12.04.1             OpenJDK Java runtime (architecture independent libraries)

That's what I have on my system.

Although I have all this installed when in Chrome I go to a website which needs jre it can't find it.

How can I fix it ?

marked as duplicate by jrg Jan 8 '14 at 2:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Which website was that? – Anwar Oct 12 '12 at 15:09
  • 2
    Is icedtea-7-plugininstalled? If not install using command line or Ubuntu Software Center. – user68186 Oct 12 '12 at 15:16
  • @user68186 icedtea-7-plugin wasn't installed. When I installed it now java on websites works fine. You can post this as an answer so that I can accept it ;) – Patryk Oct 12 '12 at 19:21

Browse other questions tagged or ask your own question.