Uninstalling Netbeans 7.0 undex Ubuntu 11.04

When upgrading Netbeans PHP downloaded from Oracle website I tried to uninstall the previous version of Netbeans. I could not find it Ubuntu Software Center - it had to be uninstalled by hand.

To uninstall it open terminal and type:

sudo /usr/local/netbeans-7.0/uninstall.sh --javahome /usr/lib/jvm/java-6-sun/

Note that the path of netbeans as well as javahome can vary. Parameter --javahome is not compulsory but in my case the uninstallation script could not find the javapath automatically.

Powered by PepisCMS