Install Java Runtime Environment 7.0 on Oracle Linux 6.3
On our previous tutorial, we already learned how to install Google Chrome on Oracle Linux 6.3. Now, we will show you how to install Java plugin on Oracle 6.3. Please read this tutorial carefully. At the end of this tutorial, we will have Java plugin enabled for Firefox, Google Chrome etc. This tutorial also applicable for CentOS Linux 6.2 as well.
Install Java 7 on Oracle Linux 6.3
1. Download Java for Linux 32bit. Make sure you have a file called: jre-7u5-linux-i586.tar.gz
2. Now, open Terminal on Oracle 6.3 we will have some fun here. Do these commands as root.
Change the permission and make executable to the file jre-7u5-linux-i586.tar.gz. You can execute the following command:
chmod a+x jre-7u5-linux-i586.tar.gz
Now move the file jre-7u5-linux-i586.tar.gz to /usr/java
mv jre-7u5-linux-i586.tar.gz /usr/java
Extract the file
tar zxvf jre-7u5-linux-i586.tar.gz
Now java is installed. Now you should have a new directory called jre1.7.0_05 under /usr/java.
Check the Java version
On Terminal, type
java -version
The output will be something like this
bash: /usr/bin/java: No such file or directory
Upps….that’s not we want. OK lets fix it this way. Create symbolic link to the /usr/bin/java
ln -s /usr/java/jre1.7.0_05/bin/java /usr/bin
We need to do this because we install java to /usr/java, not /usr/bin/java. Now check java version again and you should see this output.
[root@oracle bin]# java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode)
Enable Java plugin on Firefox and Google Chrome
To add Java plugin to Firefox or Google Chrome, do the following.
cd /home/dhani/.mozilla/plugins
Change “dhani” with your own user name. Create another symbolic link here.
ln -s /usr/java/jre1.7.0_05/lib/i386/libnpjp2.so
Now check if Firefox has java support. Type “about:plugins” on the address bar. You should see something like this if you do the right way.
Thank you. This tutorial is fully tested with Oracle Linux version 6.3.
Incoming Search:
- install java centos 6 3
- centos 6 3 java
- install java on centos 6 3
- centos 6 3 jre
- centos 6 3 java install
Category: How To


![banner-liburan[1] banner-liburan[1]](http://blog.gambliser.com/wp-content/uploads/2013/02/banner-liburan.gif)
![banner-liburan[1] banner-liburan[1]](http://blog.gambliser.com/wp-content/uploads/2013/02/nadia.gif)