How to Enable Oracle Java in Your Web Browsers on Ubuntu Linux
Method 1 of 2:
Google Chrome
32-bit Oracle Java instructions:
- Issue the following commands.
- Type/Copy/Paste: sudo mkdir /opt/google/chrome/plugins
- this will create a directory called /opt/google/chrome/plugins
- Type/Paste/Copy: cd /opt/google/chrome/plugins
- this will change you into the google chrome plugins directory,make sure you are in this directory before you make the symbolic link
- Type/Paste/Copy: sudo ln -s /usr/local/java/jre1.7.0_40/lib/i386/libnpjp2.so
- this will create a symbolic link from the Java JRE( Java Runtime Environment ) plugin libnpjp2.so to your Google Chrome web browser
- Type/Copy/Paste: sudo mkdir /opt/google/chrome/plugins
64-bit Oracle Java instructions:
- Issue the following commands.
- Type/Copy/Paste: sudo mkdir /opt/google/chrome/plugins
- this will create a directory called /opt/google/chrome/plugins
- Type/Paste/Copy: cd /opt/google/chrome/plugins
- this will change you into the google chrome plugins directory,make sure you are in this directory before you make the symbolic link
- Type/Paste/Copy: sudo ln -s /usr/local/java/jre1.7.0_40/lib/amd64/libnpjp2.so
- this will create a symbolic link from the Java JRE( Java Runtime Environment ) plugin libnpjp2.so to your Google Chrome web browser
- Type/Copy/Paste: sudo mkdir /opt/google/chrome/plugins
Reminders:
- Note: Sometimes when you issue the above command you may receive a message which states:
- ln: creating symbolic link `./libnpjp2.so': File exists
- To correct this issue simply remove the previous symbolic link using the following command:
- Type/Copy/Paste: cd /opt/google/chrome/plugins
- Type/Copy/Paste: sudo rm -rf libnpjp2.so
- Make sure you are in the /opt/google/chrome/plugins directory before you issue the command
- Restart your web browser and go to Java Tester to test if Java is functioning in your web browser.
Method 2 of 2:
Mozilla Firefox
32-bit Oracle Java instructions:
- Issue the following commands.
- Type/Paste/Copy: cd /usr/lib/mozilla/plugins
- this will change you into the directory /usr/lib/mozilla/plugins, create this directory if you do not have it
- Type/Paste/Copy: sudo mkdir /usr/lib/mozilla/plugins
- this will create the directory /usr/lib/mozilla/plugins, make sure you are in this directory before you make the symbolic link
- Type/Paste/Copy: sudo ln -s /usr/local/java/jre1.7.0_40/lib/i386/libnpjp2.so
- this will create a symbolic link from the Java JRE( Java Runtime Environment ) plugin libnpjp2.so to your Mozilla Firefox web browser
- Type/Paste/Copy: cd /usr/lib/mozilla/plugins
64-bit Oracle Java instructions:
- Issue the following commands.
- Type/Paste/Copy: cd /usr/lib/mozilla/plugins
- this will change you into the directory /usr/lib/mozilla/plugins, create this directory if you do not have it
- Type/Paste/Copy: sudo mkdir /usr/lib/mozilla/plugins
- this will create the directory /usr/lib/mozilla/plugins, make sure you are in this directory before you make the symbolic link
- Type/Paste/Copy: sudo ln -s /usr/local/java/jre1.7.0_40/lib/amd64/libnpjp2.so
- this will create a symbolic link from the Java JRE( Java Runtime Environment ) plugin libnpjp2.so to your Mozilla Firefox web browser
- Type/Paste/Copy: cd /usr/lib/mozilla/plugins
Reminders:
- Note: Sometimes when you issue the above command you may receive a message which states:
- ln: creating symbolic link `./libnpjp2.so': File exists
- To correct this issue simply remove the previous symbolic link using the following command:
- Type/Copy/Paste: cd /usr/lib/mozilla/plugins
- Type/Copy/Paste: sudo rm -rf libnpjp2.so
- Make sure you are in the /usr/lib/mozilla/plugins directory before you issue the command
- Restart your web browser and go to Java Tester to test if Java is functioning in your web browser.
4.2 ★ | 5 Vote
You should read it
May be interested
- How to Install Ubuntu Serverthis wikihow teaches you how to install ubuntu server on a windows computer. ubuntu server is a free, linux-based server operating system that you can use to host your web services. open the ubuntu server download page. go to...
- How to Upgrade Ubuntuif you use the ubuntu operating system, upgrading to the newest version will give you access to the latest features and optimizations. the upgrade process in ubuntu is very straightforward, but there are a few things you can do before you...
- How to Install Skype Using Terminal on Ubuntuyou can install skype for ubuntu without having to leave the command prompt. since version 4.3, skype can be found in the canonical partners repository, which makes it possible to install it without downloading the package from skype.com....
- How to Update Ubuntu Kernelthis wikihow teaches you how to update your ubuntu linux kernel, which is the core software that runs the rest of your linux distribution. the easiest way to do this is by installing and running a package manager called 'ukuu', but you can...
- How to Update Ubuntu Linuxthink your linux is out of date? this article will show you how to update your ubuntu linux system. update your repository list. you can do this by pressing ++. then type in . you will be prompted for your root password. all this command...
- How to Install TrueType Fonts on Ubuntuubuntu users often need truetype fonts for open office, gimp, and other programs. using this guide, you can either install one font at a time automatically or install multiple fonts manually. note: if you are using kde, double-clicking on...