To use latest oracle java7 JRE on opera

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
mank_in

To use latest oracle java7 JRE on opera

Post by mank_in »

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
Post Reply

Return to “Tutorials”