What is my User Directory? How can I change it?

When a user starts Visual Web Pack the first time after installation, a user directory is created. Usually, a new user directory is created with every new release of the IDE. Some releases provide a way to import settings from the user directory in the previous release. The user directory contains changes, configurations and resource additions that are saved from user actions, such as:

  • Adding New JDBC Drivers
  • Adding New DataSources?
  • Adding New WebServices? and EJB's for consumption through the Servers Window
  • Making changes to IDE Options, such as editor settings, proxy configurations, browser specifications

Warning: Purging the user directory removes all the configuration changes that the user has made to the IDE installation, reverting back to the newly installed Out-of-the-box state. Corrupt user directories could cause unexplainable behavior in the IDE. In such cases, try restarting the IDE with a new user directory to see if the problem goes away.

By default, Visual Web Pack shares the same user directory as NetBeans, so the default user directory is at $UserHome/.netbeans/5.5.

  • On Windows, $UserHome is C:\Document and Settings\$username
  • On Solaris and Linux, $UserHome is the user's home directory

Users can specify their own user directory with an argument while starting IDE.

  • On Windows (assuming default netbeans installation):
  • cd C:/Program Files/netbeans-5.5/bin
  • netbeans.exe -userdir user_specified_userdir
  • On Solaris/Linux
  • cd 'netbeans-install-dir/bin'
  • netbeans.exe -userdir user_specified_userdir
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo