First you need to remove openjdk for this run the following command from your terminal
1
sudo apt-get purge openjdk*
If you installed java 7 from any other PPA and you are having problem with java then you have to do following steps before installing the PPA menctioned here
Preparing your systemFirst you need to remove openjdk for this run the following command from your terminal1sudo apt-get purge openjdk*If you installed java 7