Saturday, September 8, 2012

Oracle Java 7 removal and re-installation


I had some problems with an update on the Oracle Java the other day; it couldn't upgrade. To solve this problem I followed these steps:

sudo rm oracle-java7-installer*
To remove the installer

sudo apt-get purge oracle-java7-installer
To purge the installer from the system

sudo add-apt-repository ppa:webupd8team/java
To re-enter the repository into the list

sudo apt-get update
To update the list

sudo apt-get install oracle-java7-installer
To download and install the package

And that was it.

No comments: