Thursday, May 17, 2012

Which one is better ? open-jre or sun java ?

On a whole, open java and sun java are 99 % similar. As oracle purchased sun company, java is taken into oracle and tried to make it proprietary. Open jdk / open jre is under GNU Public License and is free (free in terms of freedom not as in price). So whatever may be the issue, there are currently no major issues running both of them side by side. 

But today, as I re-installed my Operating system i.e Ubuntu, I need to check for java plugin support for browser. I've already installed open-jre in my system but it don't enable jre in browser i.e java plugin in browser. i didn't find any browser specific plugins on the internet. Tried installing sun java from but couldn't succeed because I've downloaded a Linux version .tar.gz file which is self extracting archive. suggested to execute .bin file in that folder and surprisingly it is missing (Amazing support !).

Finally discovered a way on the internet and below are the steps.

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer

sudo apt-get update

Voila ! that works ! :)

Consider this before choosing.

If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

Write comments
  1. You can enable java plugin support for browser in linux system with openjre environment by install icedtea-plugin package.

  2. Yes We can.. Thanks for sharing ! :)