How to install JRE for Chrome on Linux x86-64

How to install JRE for Chrome on Linux x86-64?

Use JRE from Oracle on Fedora Linux x86-64 as the example:

  1. Download jre from http://java.com/en/download/manual.jsp?locale=en#lin . Select Linux x64.

  2. Install it by # yum install jre-7u40-linux-x64.rpm (the downloaded rpm).

  3. Make a softlink of the plugin:
    $ cd ~/.mozilla/plugins/; ln -s /usr/java/jre1.7.0_40/lib/amd64/libnpjp2.so ./

  4. Restart Chrome and browse chrome://plugins/ and you will see “Java(TM)”.

Leave a Reply

Your email address will not be published. Required fields are marked *