• 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

Downlaod Ubuntu 26.10 Stonking Stingray

How To Shutdown Linux With A 15 Minute Delay And Message

Using Linux Terminal How To Get Total Disk Size In GB

Count And Find Number Of Files In A Linux Directory Using Command

Check How Many Users Are Created In Linux Ubuntu

How To Check User Permissions In Linux Using Command

Check Which Folder Is Taking More Space In Ubuntu Linux

How to Install Claude Desktop App in Ubuntu Linux

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

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

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