How to start Apache Derby DB using derbyrun.jar

If you need to start Apache Derby DB from the command line; Use the following code;

Do not forget to put
derby.jar inside lib folder in your project

C:\project\HibernateSampleWebApplication\lib>java -jar derbyrun.jar server start
Wed Jun 15 16:03:45 EEST 2011 : Security manager installed using the Basic server security policy.
Wed Jun 15 16:03:46 EEST 2011 : Apache Derby Network Server – – (1095077) started and ready to accept connections on port 1527