How to uninstall NetBeans?
Solution 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 thenetbeans-X.X
folder will be in your home directory. (Here x.x refers to the version number such as6.9
or7.2
etc)Open a terminal and go to netbeans' installation directory using
cd
command. Such ascd /usr/local/netbeans-x.x
.Use 'su' to become superuser (type in your root password).
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. :)
![Roudy Tarabay](https://i.stack.imgur.com/YxByA.jpg?s=256&g=1)
Roudy Tarabay
Updated on September 18, 2022Comments
-
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 over 12 yearsI installed it with this command: chmod 777 /path/netbeans.sh
-
-
Anwar over 11 yearsWhat if he install netbeans with admin user account?
-
SamStephens about 11 yearsNote that you only need to be root if you installed using root. Otherwise running uninstall.sh without using su/sudo works fine.
-
Pino about 11 yearsThe 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 over 10 yearsNow, 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?