To use latest oracle java7 JRE on opera

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

To use latest oracle java7 JRE on opera

Postby mank_in on Mon Aug 27, 2012 12:40 am

First install JRE for mozilla .
I am using tutorial on https://sites.google.com/site/easylinuxtipsproject/java
my sample is jre7u7 linux 32bit, all credit to thats website.
after download jre-7u7-linux-i586.tar.gz to your download folder, use command :

Code: Select all
 sudo mkdir -p -v /opt/java/32
cd ~/Downloads && tar xvzf ~/Downloads/jre-7u7-linux-i586.tar.gz
sudo mv -v ~/Downloads/jre1.7.0_07 /opt/java/32
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/32/jre1.7.0_07/bin/java" 1
sudo update-alternatives --set java /opt/java/32/jre1.7.0_07/bin/java
mkdir -v ~/.mozilla/plugins
sudo apt-get remove icedtea-6-plugin && sudo apt-get remove icedtea-7-plugin
rm -v ~/.mozilla/plugins/libnpjp2.so
ln -s /opt/java/32/jre1.7.0_07/lib/i386/libnpjp2.so ~/.mozilla/plugins/


it will helps you install new java plugin in mozilla and chrome, but not in opera ( at least in my case :) )
for opera to recognize new plugins , use command :

Code: Select all
 sudo rm /usr/lib/opera/plugins/libnpjp2.so
sudo ln -s /opt/java/32/jre1.7.0_07/lib/i386/libnpjp2.so /usr/lib/opera/plugins/


test your opera browser java plugins : http://java.com/en/download/installed.jsp
Image
Sorry for my bad English , I am Indonesian.
User avatar
mank_in
Level 6
Level 6
 
Posts: 1346
Joined: Wed Nov 16, 2011 2:29 pm
Location: Bali

Linux Mint is funded by ads and donations.
 

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests