How to uninstall Netbeans 6.8 on ubuntu Lucid Lynx (10.04 LTS)

I manually installed Netbeans 6.8, by downloading the binary and installing it.

I am now upgrading to Netbeans 6.9, and I want to uninstall the previous version first.

Any tips on how to uninstall Netbeans 6.8?


you can try this:

Go to the directory where NetBeans was installed (e.g. netbeans-6.8 in /usr/local) and start ./uninstall.sh script.

   sudo /usr/local/share/netbeans-6.8/uninstall.sh

and in other cases if the jdk is located in another folder (like this one isn't in the netbeans-6.8 folder)

sudo /usr/local/share/netbeans-6.8/uninstall.sh --javahome /usr/local/share/jdk1.6.0_05/

OR you can read this

http://www.karthikeyanc.com/blog/index.php/2009/12/how-to-uninstall-netbeans-from-ubuntu/


Just run updatedb and then locate uninstall.sh, then run the correct one.

I personally uninstall both glassfish and netbeans using that same method.


I couldnt find the uninstall.sh file so i used the Synaptic Package Manager, i marked all Netbeans 6.8 components to be removed and voila! simply like that.


You can unistall netbeans-7.0.1 for Ubuntu by executing this command:

sudo sh usr/local/netbeans-7.0.1/uninstall.sh

In my Ubuntu 10.10, Netbeans uninstall.sh is located in the directory home/userName/netbeans-6.8/

Run this command to unstall Netbeans:

sudo home/userName/netbeans-6.8/uninstall.sh