Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 5 down vote accepted

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/

share|improve this answer
    
link has no content – Bhanu Krishnan Jun 15 '11 at 11:46

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

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

share|improve this answer

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.

share|improve this answer

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

sudo sh usr/local/netbeans-7.0.1/uninstall.sh
share|improve this answer

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
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .