How to do a clean uninstall of the ide
By karthikr on Jun 23, 2008
The recommended method of uninstalling the ide is to run the uninstaller provided with the ide. The instructions are provided in the release notes; for instance the instructions for 6.1 are provided in 6.1 release notes.
If the uninstall program fails for some reason, then try filing a bug:
NB6.0 and higher : These versions use the NetBeans installer engine. Refer to 'What's Needed for a Bug Report?' FAQ item on filing a bug report on installer.
- Previous versions: Run the uninstaller with -is:log <logfilename> and attach the log file to the issue. You can also run uninstaller with command line option -is:javaconsole. It will open additional window on Windows and output log to this window. Then you can copy its content and attach it to the issue.
You can also try manually removing the product as a last resort. For NetBeans 6.0 and higher refer to the FAQ on cleaning up an install.
For windows registry entries , Start Menu | Run | Type 'regedit.exe' should open the registry editor. More info...
In most cases, simply deleting the install directory and user directory should work.
The following is a suggested directory structure while installing the ide.
Then one can simply delete the ide,servers and userdir directories.
- While installing the product:
- Specify <basedir>/ide<version>/ide as the install directory.
- Specify <basedir>/ide<version>/servers/<server_type> as the location for the bundled server installs.
- Once the product is installed, before starting the ide, open <basedir>/ide<version>/ide/etc/netbeans.conf file and set the value of netbeans_default_userdir to <basedir>/ide<version>/userdir.
- While creating projects in the ide, specify <basedir>/ide<version>/proj as the project location, if you would like to group all projects developed with a given version of the ide together.