Wednesday, November 10, 2010

Remove open jdk and installed Sun Java on Ubuntu

Ubuntu installs OpenJDK as default Java since version 8.04. Many programs require Sun Java to work and just installing Sun Java did not solve the issue for me. There are many guides that help you uninstall and reinstall many packages. The simplest method is to

Remove the following from Ubuntu Software Center :-


  1. openJDK Java6 runtime
    1. icedtea 6 plugin
    2. libaccess bridge java
  2. openJDK java 6 web start
and then install:-
  1. sun-java6-jre
  2. sun-java6-jdk
  3. sun-java6-plugin