Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

5 Answers 5

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


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

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.