userdir is the directory where NetBeans stores user configuration data such as window layouts, editor settings, menu and toolbar customizations and various module settings. Modules can use userdir to store persistent data (for example, source and library file databases and indexes). Also, additional modules installed by the user are typically stored in the userdir.

As the name suggests, userdir is unique per user and by default it is stored in user's home directory (${HOME} on Unix-like systems, C:\Documents and Settings\<user> on Windows) under .netbeans/<nb-version>.


  • A Windows user jdoe running NetBeans 4.1 is likely to find his userdir under C:\Documents and Settings\jdoe\.netbeans\4.1

Source: NetBeans User FAQ