21 nov

Ubuntu 11.10 – Banco do Brasil + JAVA Version 6 Update 29

mkdir /usr/java/
cd /usr/java/
 
wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=56690
mv AutoDL?BundleId=56690 jre-6u29-linux-i586.bin
 
chmod +x jre-6u29-linux-i586.bin
sh jre-6u29-linux-i586.bin
 
update-alternatives --install /usr/bin/java java /usr/java/jre1.6.0_29/bin/java 1
update-alternatives --set java /usr/java/jre1.6.0_29/bin/java
 
mkdir /usr/lib/mozilla/plugins
 
#Para Firefox
ln -s /usr/java/jre1.6.0_29/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
 
#Para Chromium
ln -s /usr/java/jre1.6.0_29/lib/i386/libnpjp2.so /usr/lib/chromium-browser/plugins/libnpjp2.so
 
#Para Google Chrome
ln -s /usr/java/jre1.6.0_29/lib/i386/libnpjp2.so /opt/google/chrome/plugins/libnpjp2.so