To connect to a database created with a previous version of Derby, you must first upgrade that database.
Upgrading involves writing changes to the system tables, so it is not possible for databases on read-only media. The upgrade process:
See the release notes for more information on upgrading your databases to this version of Derby.