I unsuccessfully tried installing Java 6 by copy-pasting the following from http://www.webupd8.org/2012/11/oracle-sun-java-6-installer-available.html in the terminal window:
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java6-installer
It was running well until it came to a point where something like [connecting elibrary.oracle.com...connected] showed up (sorry I can't remember it correctly). There it was stuck for a good 3 hours. So I had to close the Terminal down, thereby killing the process midway.
Can anyone please tell me how to remove anything that has already been installed and take the system back to the state it was before attempting this installation. Any help is highly appreciated.