Recommended practices

When developing Derby applications, create a single directory to hold your database or databases. Give this directory a unique name, to help you remember that:
Related concepts
One Derby instance for each Java Virtual Machine
Booting databases
Defining the system directory
The error log
derby.properties
Double-booting system behavior
Related tasks
Shutting down the system