How to do a clean uninstall of the ide

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.

<basedir>/
        nb601/
                ide/
                servers/
                        glassfish/
                        tomcat/
                userdir/
                proj/

        nb61/
                ide/
                servers/
                        glassfish/
                        tomcat/
                userdir/
                proj/

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.


Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

A blog for NetBeans users maintained by NetBeans Support team. For professional support, please check out Support Resources.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today