32 Bit JAVA Installation for UBUNTU & Firefox plugin
Step1 : Open Firefox browser --> go to
http://www.java.com -- > Click free download
Download the arrowed one Linux filesize 46.0 MB file
Step 2
: Create a folder $ sudo mkdir /usr/local/java
Step 3
: Copy the downloaded file to /usr/local/java
(ex: $ sudo cp /home/kbackia/Downloads/jre-7xxxx.tar /usr/local/java )
Step 4
: Go to /usr/local/java and extract the
file
(ex: 1.$ cd /usr/local/java 2.$ tar -zxvf jre-7xx.tar)
Rename the folder jre1xxx to jre1 for your easy reference
$
sudo /usr/local/java/jre1xxx /usr/local/java/jre1
remove the jre7xxxxx.tar file if you like
Step 5
: Edit
/etc/profile (ex: $sudo vi /etc/profile ) append these lines
JAVA_HOME=/usr/local/java/jre1
PATH=$PATH:$HOME/bin:$JAVA_HOME
export JAVA_HOME
export PATH
Save and exit
Step
6: Type this commands
A. $ sudo update-alternatives
--install "/usr/bin/java" "java" "/usr/local/java/jre1/bin/java" 1
B. $ sudo
update-alternatives --set java
/usr/local/java/jre1/bin/java
C. $ .
/etc/profile
D. $ java
-version --you can see the version details.
E. $ cd /usr/lib/firefox-addons/plugins
F. Create a link file $ sudo ln -s /usr/local/java/jre1/lib/i386/libnpjp2.so
G. Verify the java in http://www.java.com/verify
.. 100 % will succeed..
No comments:
Post a Comment