Install Oracle Java 7 Update 9 on Kubuntu 12.10

This tutorial is going to show you how to Install Oracle Java 7 Update 9 on Kubuntu 12.10. Java is a must have application for Linux users. Enrich your browsing activity with Oracle Java 7 update 9. If you still use the older version of Oracle Java, I recommend you to upgrade to this new release.

Steps to install Oracle Java 7 on Kubuntu 12.10

1. Download Oracle Java 7 update 9 for Linux. For more options for downloading Java, please visit this page: http://java.com/en/download/manual.jsp#lin

2. Extract the package we’ve just downloaded

  

tar xzvf jre-7u9-linux-i586.gz




It will produces a new directory




  

jre1.7.0_09






Now move the new directory to /usr/java. You will need to create the directory if it not exist.




  

su

mkdir /usr/java
mv jre1.7.0_09




Now use these command to create symlink to the java binary.




  

cd /usr/java/jre1.7.0_09/bin 
ln –s /usr/java/jre1.7.0_09/bin/java /usr/bin/java




At this point, Java 1.7.9 update 9 is installed. You can check by invoking this command




  

java –version




and it will looks like this




  

java version "1.7.0_09"

Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode)




 



 



Now we need to enable the Java plugin on web browser such as Firefox or Google Chrome.




cd /home/dhani/.mozilla/plugins




Create first if you don’t have it




mkdir /home/dhani/.mozilla/plugins




Now create symlink to libnpjp2.so on /home/dhani/.mozilla/plugins directory




ln –s /usr/java/jre1.7.0_09/lib/i386/libnpjp2.so




 



Don’t forget to change “dhani” with your current username. Now check if Java is integrated with Firefox. Open Firefox and type “about:plugins”



 



java-kubuntu

1 comments:

Komentar ini telah dihapus oleh pengarang.