How to install Java web plug-in?
Here is an easy guide for you to install Java on your specific system:
1. Windows
a. First of all you need to check whether you have Java on your system or not.
b. You can simply do this by going on the following link- http://www.javatester.org/version.html .
c. If you have version 1.6 or above you dont need to go ahead with the installation.
d. To download the appropriate version of Java visit en.softonic.com/s/free-java-download/windows-xp.
e. Download Java Runtime Environment 7.0.450.18 for Web and Browser.
f You may test whether Java is working on your computer by following step b.
g. A notification will convey the same.
2. Mac
a. First of all you need to check whether you have Java on your system or not.
b. You can simply do this by going on the following link- http://www.javatester.org/version.html .
c. If you have version 1.6 or above you dont need to go ahead with the installation.
d. Go to your Terminal and type Java. If Java is not installed on your system then a pop up will appear indicating the same.
e. The pop up will ask for permission to install Java.
f. Follow the steps of installation and test whether Java is working on your computer by following step b.
g. A notification will convey the same.
Note- To allow Java on Safari browser:
In Safari, choose Safari > Preferences or press Command-comma (-,)
Click "Security".
Check "Allow Java".
Close the Safari preferences window.
3. LINUX
There are two types of installation packages.
All linux packages are available at http://java.com/en/download/manual.jsp.
Java on Linux Platforms
This is an archive binary file that can be installed by anyone (not only the root users), in any location that you can write to. However, only the root user can install Java into the system location.
Java on RPM-based Linux Platforms
32-bit RPM-based Linux platforms, such as Red Hat and SuSE, use a RPM binary file (.rpm) in the system location. You must be root to perform this installation.
Steps to Download and install 32- bit Java for Linux:
a. Download
Become root by running super user and entering the super-user password.
Uninstall any earlier installations of the Java packages.
rpm -e
Change to the directory in which you want to install. Type:
cd
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java
Install the package.
rpm -ivh jre-7u7-linux-i586.rpm
To upgrade a package,
rpm -Uvh jre-7u7-linux-i586.rpm
Delete the .rpm file if you want to save disk space.
Exit the root shell. No need to reboot.
b. Install
Java on Linux platform
The instructions below are for installing version Java 7 Update 7 (7u7). If you are installing another version, make sure you change the version number appropriately when you type the commands at the terminal
Change to the directory in which you want to install. Type:
cd
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java/
Move the .tar.gz archive binary to the current directory.
Unpack the tarball and install Java
tar zxvf jre-7u7-linux-i586.tar.gz
The Java files are installed in a directory called jre1.7.0_07 in the current directory.
In this example, it is installed in the /usr/java/jre1.7.0_07 directory.
Delete the .tar.gz file if you want to save disk space.
Java on RPM-based Linux Platforms
The instructions below are for installing version Java 7 Update 7 (7u7). If you are installing another version, make sure you change the version number appropriately when you type the commands at the terminal
Become root by running su and entering the super-user password.
Uninstall any earlier installations of the Java packages.
rpm -e
Change to the directory in which you want to install. Type:
cd
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java
Install the package.
rpm -ivh jre-7u7-linux-i586.rpm
To upgrade a package,
rpm -Uvh jre-7u7-linux-i586.rpm
Delete the .rpm file if you want to save disk space.
Exit the root shell. No need to reboot.
c. Enable and Configure
To configure the Java Plugin follow these steps:
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.
Create a symbolic link to the libnpjp2.so file in the browser plugins directory
Go to the plugins sub-directory under the Firefox installation directory
cd /plugins
Create plugins directory if it does not exist.
Create the symbolic link
ln -s /lib/i386/libnpjp2.so
Start the Firefox browser, or restart it if it is already up.
Note:
You can use similar methods to download it for other browsers. For more information on downloading through Ubuntu visit the following link: http://www.wikihow.com/Enable-Oracle-Java-in-Your-Web-Browsers-on-Ubuntu-Linux
Please feel free to share the experiences you had while installing java on your browser as this will help other people who read the post.
4 Comment(s)