• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Enable Java In Web Browser On Ubuntu Linux

How To Enable Java In Web Browser On Ubuntu Linux

By Sourabh / September 23, 2015 Category: How To, Ubuntu

Enable Java Plugin on Firefox. Enable and configure Java Plugin on Firefox and Chrome web browser. Follow these instructions to enable Java in your web browser on Ubuntu Linux.

Google Chrome

  • 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/local/java/jre1.7.0/lib/amd64/libnpjp2.so
  • Restart your browser and test Java

Mozilla Firefox

  • Exit Firefox browser if it is already running.
  • Uninstall any previous installations of Java Plugin.
    Only one Java Plugin can be used at a time. When you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.
  • 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 to the libnpjp2.so file in the browser plugins directoryln -s /usr/local/java/jre1.7.0/lib/amd64/libnpjp2.so
    ln -s /usr/local/java/jre1.7.0/lib/i386/libnpjp2.so
  • Restart your browser and test Java

Example [Firefox]

    • If Firefox is installed at this directory:
      /usr/lib/<Firefox installation directory>
    • And if the Java is installed at this directory:
      /usr/java/<Java installation directory>
    • Then type in the terminal window to go to the browser plug-in directory:
      /usr/lib/<Firefox installation directory>/plugins
    • Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
      ln -s /usr/java/<Java installation directory>/lib/i386/libnpjp2.so

You can also view support.mozilla.org for more help on using Java on Firefox.

Via Java | Oracle

Tags: Configure Java In Chrome On Linux, Configure Java In Chrome On Ubuntu, Configure Java In Firefox On Linux, Configure Java In Firefox On Ubuntu, Configure Java Plugin In Chrome On Linux, Configure Java Plugin In Chrome On Ubuntu, Configure Java Plugin In Firefox On Linux, Configure Java Plugin In Firefox On Ubuntu, Enable Java In Chrome On Linux, Enable Java In Chrome On Ubuntu, Enable Java In Firefox On Linux, Enable Java In Firefox On Ubuntu, Enable Java In Web Browser On Linux, Enable Java In Web Browser On Ubuntu, Enable Java Plugin In Chrome On Linux, Enable Java Plugin In Chrome On Ubuntu, Enable Java Plugin In Firefox On Linux, Enable Java Plugin In Firefox On Ubuntu, Enable Java Plugin In Web Browser On Linux, Enable Java Plugin In Web Browser On Ubuntu, How To Enable Java In Web Browser On Linux, How To Enable Java In Web Browser On Ubuntu, Java Plugin On Linux, Java Plugin On Ubuntu

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap