Wednesday, March 28, 2012
how to install java in ubuntu to accesss oracle finance
how to install java on Ubuntu to accesss Oracle finance
- download java jre from website java.com file name like "jre-6u31-linux-i586.bin"
- create folder /opt/java/32 the copy jre-6u31-linux-i586.bin to includign set executable file
open terminal and enter command
cd /opt
sudo mkdir java
cd java
sudo mkdir 32
cd 32
sudo mv ~/Downloads/jre-6u31-linux-i586.bin /opt/java/32
sudo chmod 755 /opt/java/32/jre-6u31-linux-i586.bin
- execute bin file
cd /opt/java/32
sudo ./jre-6u31-linux-i586.bin
- tell system the java avalid
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/32/jre1.6.0_31/bin/java" 1
sudo update-alternatives --set java /opt/java/32/jre1.6.0_31/bin/java
- remove icedtea form firefox plugin and create link in firefox
sudo mkdir ~/.mozilla/plugins
sudo apt-get remove icedtea6-plugin
rm .mozilla/plugins/libnpjp2.so
ln -s /opt/java/32/jre1.6.0_31/lib/i386/libnpjp2.so ~/.mozilla/plugins/
ref site:
http://sites.google.com/site/easylinuxtipsproject/java
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment