How to Enable Oracle Java in Your Web Browsers on Ubuntu Linux
Issue the following commands., Issue the following commands., 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...
Step-by-Step Guide
-
Step 1: 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 -
Step 2: 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 ,, -
Step 3: 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
-
Step 4: Restart your web browser and go to Java Tester to test if Java is functioning in your web browser.
Detailed Guide
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 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 ,,
About the Author
Megan Perry
Megan Perry specializes in lifestyle and practical guides and has been creating helpful content for over 5 years. Megan is committed to helping readers learn new skills and improve their lives.
Rate This Guide
How helpful was this guide? Click to rate: