Why does Chrome report java as old, even though I have the newest version?

I have the newest version of Oracle Java (1.7.0_05) from Webupd8's PPA.

Despite this, Google Chrome complaints that my Java plug-in is out dated, and forces me to confirm that I want to run every applet I have to use (like my bank and such).

Can anyone please tell me why this is?

Did Google screw up, or am I just in plain bad luck?

-- Edit -- (Upon request) I basically installed Java this way:

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer

This works excellent for Firefox, but Chrome complains about the version. I have tried OpenJDK 7, but it both reports being too old in Chrome, and furthermore it won't load it at all.

3

3 Answers

Please try installing Oracle Java 7 the official way, i.e. downloading the binary installer from oracle.com instead of via a PPA.

AFAIK that definitely installs the updated browser plugin so that the browsers (at least Firefox for sure) can detect and use it.

1

Could you please update your question and let us know what you did to install Java

I had a similar issue but I used the following command in Ubuntu Terminal

sudo apt-get install openjdk-7-jre

If you install this from Ubuntu's Software Center it will most likely install an add-on (icetea-netx). Make sure that it's selected before you hit install (in Ubuntu's Software Center). This will install Open Java 7 Runtime Environment with IceTea Netx (see ).

JDK is Java Development Kit and is not really required unless you are into developing Java programs.

4

You may have one version on your system, but a certain browser could be using other.

You should point chrome to the right java version, point the location of your libpnpjp2.so to chrome plugins.

Something like this:

sudo ln -s /usr/lib/jvm/jdk1.7.0/jre/lib/amd64/libnpjp2.so /opt/google/chrome/plugins

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like