How to uninstall NetBeans?

307,068

Solution 1

  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.

Solution 2

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 :

Solution 3

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

Solution 4

Go to ~/netbeans x.x/ and execute uninstall.sh .

Also, if you installed glassfish or tomcat, look for their respective folders in ~/ and execute their uninstaller.

Solution 5

Don't get confuse with codes. Here is the simplest way to Uninstall Netbeans..

Open Files.

Select NetBeans-8.1Beta (if you are using another version then select your version)

Open Terminal (alt+ctrl+T)

Drag uninstall.sh file to terminal window.

Uninstallation Process will be automatically intiated. :)

Share:
307,068
Roudy Tarabay
Author by

Roudy Tarabay

Updated on September 18, 2022

Comments

  • Roudy Tarabay
    Roudy Tarabay almost 2 years

    Since I did not install NetBeans via the Software Center (I installed it as an .sh file) I can't see an easy way of uninstalling the program.

    How can I safely uninstall the program?

    • Roudy Tarabay
      Roudy Tarabay over 12 years
      I installed it with this command: chmod 777 /path/netbeans.sh
  • Anwar
    Anwar over 11 years
    What if he install netbeans with admin user account?
  • SamStephens
    SamStephens about 11 years
    Note that you only need to be root if you installed using root. Otherwise running uninstall.sh without using su/sudo works fine.
  • Pino
    Pino about 11 years
    The uninstaller wants to uninstall Tomcat too, but I want to keep it because it is used by the new installation of Netbeans I have already done. Any suggestion?
  • sighrobot
    sighrobot over 10 years
    Now, How to uninstall it without removing my settings and apply that settings to the new version of the netBeans (eg. 7.3 or 7.4) which i want to install instead?