How to uninstall NetBeans?

  1. There will be a file named uninstall.sh in /usr/local/netbeans-x.x if you installed netbeans with root privilege. If you installed it with a normal user account the netbeans-X.X folder will be in your home directory. (Here x.x refers to the version number such as 6.9 or 7.2 etc)

  2. Open a terminal and go to netbeans' installation directory using cd command. Such as cd /usr/local/netbeans-x.x.

  3. Use 'su' to become superuser (type in your root password).

  4. Then execute uninstall.sh file with the command sh uninstall.sh.

Alternatively, You can double click on it and choose "run in terminal" option. You need to supply the password (admin user's) to do this.


To uninstall the IDE:

  • Shut down the IDE.
  • Find the IDE installation directory :

    locate netbeans
    
  • In the IDE installation directory, typically in your home directory there is a directory called netbeans. Once inside it, run the uninstaller:

    ./uninstall.sh
    
  • At the Summary page, click Uninstall.

  • After uninstallation completes, click Finish.

To uninstall GlassFish Server Open Source Edition 3.1:

  • Shut down the IDE.
  • Locate the application server installation directory.

      Linux     root    /usr/local/glassfish-3.1
    
    • In your home directory there is a director call glassfish look inside and you can find it, run the file :

      ./uninstall.sh
      
  • At the Summary page, click Uninstall.

  • After uninstallation completes, click Finish.

Source here


Related Question :

  • Problem installing Netbeans 7.0.1

Simply dragging and dropping the uninstall.sh from a home install folder to a terminal activates the netbeans uninstaller.