0

I can't run Java web apps in Chrome/Chromeium and I can't run Flash in Firefox

enter image description here enter image description here
(Both sites shown in images works in opposite browser)

Is it possible for me, running Ubuntu 14.10 to use one browser and still be able to use both those sites? I don't care if it is with Chrome, Firefox or something completely else

Jeggy
  • 3,062

2 Answers2

1

Google Chrome 35 onwards does not support java plugin.(as of 4 november 2014) If you want to use java on browser either use Mozilla Firefox or downgrade Chrome to 34 version(backup your bookmarks and settings).

To enable java in browser, install java by copy and pasting following commands one by one
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer -y


Manual method for users not getting java even after install java by above method

Follow these instructions to enable Java in your web browser on Ubuntu Linux.

Google Chrome 34 and previous

  • Become the root user by running the su command and then enter the super-user password. Type:
    sudo -s
  • Create a directory called plugins if you do not have it. Type:
    mkdir -p /opt/google/chrome/plugins
  • Go to Google chrome plugins directory before you make the symbolic link. Type:
    cd /opt/google/chrome/plugins
  • Create a symbolic link. Type:
    ln -s /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so
  • Restart your browser and test java

    Mozilla Firefox
  • Become the root user by running the su command and then enter the super-user password. Type:
    sudo -s
  • Create a directory called plugins if you do not have it. Type:
    mkdir -p /usr/lib/mozilla/plugins
  • Go to Mozilla plugins directory before you make the symbolic link. Type:
    cd /usr/lib/mozilla/plugins
  • Create a symbolic link. Type:
    ln -s /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so
  • Restart your browser and test java


To enable flash in Firefox you have to install Adobe Flash from Ubuntu Software Center. search for flash in Software center enter image description here

Alex Jones
  • 7,982
  • 9
  • 55
  • 94
  • this didn't work. And I checked, I don't even have the folder /usr/local/java – Jeggy Nov 03 '14 at 17:03
  • this means you havent installed java on your machine. install java from this link: https://help.ubuntu.com/community/Java – Alex Jones Nov 03 '14 at 18:04
  • As pointed in the question, I already have Java installed and it works in Firefox. Here is a image showing what I've installed: http://khp.randompoop.net/uploads/Screenshot%20from%202014-11-03%2019:45:05.png – Jeggy Nov 03 '14 at 18:46
  • Chrome 35 onwards does not support java due change in NPAPI. I have updated my answer please have a look at it. – Alex Jones Nov 04 '14 at 05:02
0

You have to install Pepper flash plugin, to do that run this command:

sudo update-pepperflashplugin-nonfree
Shota
  • 101