i shut down the database and it works

Oystein Grovlen - Sun Norway <Oystein.Grovlen@Sun.COM> wrote:
dogal acar wrote:
> Hi all,
> i am new to java derby and my problem is about deleting derby database
> directory. I am creating a new derby database and after it want delete
> it(programmaticly or manuel) but it gives access violation error and i
> can not delete it i am closing the database connetion and other database
> structures. How can i solve this problem ?

Have you shut down the database before you attempt to delete the
database directory?