How do I get Java support on Google Chrome in Linux?

Is there a way to run Linux Google Chrome with Java support?

-
Moderator note: I've removed answers that are now obsolete, since Chrome 35 has dropped NPAPI support and the methods posted here will all not work. We're generally not removing old answers in case people still want to run old stable versions of software, but with Chrome, this is not really feasible nor practical. Looking forward to answers that consider the latest version, therefore making this community wiki to encourage joint efforts. –  slhck Jul 12 '14 at 13:48
Related question on Ask Ubuntu: askubuntu.com/questions/470594/… –  slhck Jul 15 '14 at 13:06
Afaik and also according to productforums.google.com/forum/#!topic/chrome/qPiZkcLwFFk there is no way to support Java on recent Google Chrome for Linux releases. So switch to Firefox or use - carefuly - an older version of Chrome. –  lmedinas Sep 8 '14 at 12:33
The information on java.com/en/download/faq/chrome.xml is a bit confusing, but it seems to be suggesting that you need 64-bit Chrome and 64-bit Java 7 to run Java in Linux. (It claims that Chrome doesn't have a 64-bit Linux version, but that is false). –  trlkly Sep 11 '14 at 21:51
Another thing I haven't tested, so I won't use as an answer: what happens if you run Chrome in Wine? Does the Windows Java 7 plugin work there? If so, there are projects to get plugins that work in Windows to run in Linux browsers. One is used to get Netflix working, for example. (This is mainly a suggestion to help people find an answer.) –  trlkly Sep 11 '14 at 21:57

There's a guy (Michael Müller) who have wrote some patches to re enable the support for NPAPI (so icedtea will work).

This is somewhat a workaround. but is expected to work. (Actually I haven't tested)

Currently the build version is 36.

If you use ArchLinux you can build and install it from AUR. chromium-npapi

If not, you can see in PKGBUILD the build process.

-

try installing icedtea in linux. it works like a charm.

for Ubuntu

apt-get install icedtea

-
Does this actually work on Chrome 35 or newer? –  Journeyman Geek Jul 15 '14 at 5:35
this doesn't work. ref: superuser.com/questions/44827/… –  Sathya Aug 12 '14 at 5:43

Simply you can download Java for Linux and run the script for JDK installation in Linux(Debian based like Ubuntu).
This is shown for 32 bit version of linux. For 64 bit, replace the script's i586 parts with x64.
And simply run the script with root privilage. This will install Java in your PC and the restart the computer and run Chrome. It'll work fine.

-
This doesn't work. ref: superuser.com/questions/44827/… –  Sathya Aug 12 '14 at 5:43
This is something works on my PC. I always use the same. You may have mistaken the editing part in the script. Please re-download the script and carefully modify it. I'm very sure it will work. I'm using ubuntu 14.04 LTS x64 and Chrome 36. It works very well with that. –  arumoy Aug 31 '14 at 4:34

protected by Community♦Jul 28 '14 at 18:13

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.