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 
Advertisements

3 thoughts on “Remove open jdk and installed Sun Java on Ubuntu

  1. Well, You can run many JVMs on a single machine right, so no need to remove OpenJDK. Just choose the default using:
    “sudo update-alternatives –config java”

  2. i am very new to the ubuntu os. i am trying to play minecraft on my computer, i looked up some info on how to get minecraft to work. i was told to remove openjdk, but i dont know how i go about doing that. can someone enlighten me on this please?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s