Defining the system directory You define the system directory when starts up by specifying a Java system property called derby.system.home.

If you do not specify the system directory when starting up , the current directory becomes the system directory.

uses the derby.system.home property to determine which directory is its system directory - and thus what databases are in its system, where to create new databases, and what configuration parameters to use. See the for more information on this property.

If you specify a system directory at startup that does not exist, creates this new directory - and thus a new system with no databases-automatically.