Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ./ script.

   sudo /usr/local/share/netbeans-6.8/

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/ --javahome /usr/local/share/jdk1.6.0_05/

OR you can read this

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

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

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

share|improve this answer

I couldnt find the 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/
share|improve this answer

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

Run this command to unstall Netbeans:

sudo home/userName/netbeans-6.8/
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.