hi,
i am new to derby database i am working on derby database with embededdriver mode.
i check your tutorial and follow steps and set derby.jar and derbytools.jar in classpath.
i use this command to check classpath

java org.apache.derby.tools.sysinfo

it shows the following output

C:\Users\HeartBeat\Desktop>java org.apache.derby.tools.sysinfo
------------------ Java Information ------------------
Java Version:    1.7.0_02
Java Vendor:     Oracle Corporation
Java home:       C:\Program Files\Java\jre7
Java classpath:  c:\mail.jar;C:\apache-tomcat-7.0.29\lib\servlet-api.jar;C:\User
s\HeartBeat\Desktop\Derby\lib\derby.jar;C:\Users\HeartBeat\Desktop\Derby\lib\der
bytools.jar
OS name:         Windows 7
OS architecture: x86
OS version:      6.1
Java user name:  HeartBeat
Java user home:  C:\Users\HeartBeat
Java user dir:   C:\Users\HeartBeat\Desktop
java.specification.name: Java Platform API Specification
java.specification.version: 1.7
java.runtime.version: 1.7.0_02-b13
--------- Derby Information --------
[C:\Users\HeartBeat\Desktop\Derby\lib\derby.jar] 10.10.1.1 - (1458268)
[C:\Users\HeartBeat\Desktop\Derby\lib\derbytools.jar] 10.10.1.1 - (1458268)
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale :  [English/United States [en_US]]
Found support for locale: [cs]
         version: 10.10.1.1 - (1458268)
Found support for locale: [de_DE]
         version: 10.10.1.1 - (1458268)
Found support for locale: [es]
         version: 10.10.1.1 - (1458268)
Found support for locale: [fr]
         version: 10.10.1.1 - (1458268)
Found support for locale: [hu]
         version: 10.10.1.1 - (1458268)
Found support for locale: [it]
         version: 10.10.1.1 - (1458268)
Found support for locale: [ja_JP]
         version: 10.10.1.1 - (1458268)
Found support for locale: [ko_KR]
         version: 10.10.1.1 - (1458268)
Found support for locale: [pl]
         version: 10.10.1.1 - (1458268)
Found support for locale: [pt_BR]
         version: 10.10.1.1 - (1458268)
Found support for locale: [ru]
         version: 10.10.1.1 - (1458268)
Found support for locale: [zh_CN]
         version: 10.10.1.1 - (1458268)
Found support for locale: [zh_TW]
         version: 10.10.1.1 - (1458268)
------------------------------------------------------

but still when i run SimpleApp.java it gives error

SimpleApp starting in embedded mode

Unable to load the JDBC driver org.apache.derby.jdbc.EmbeddedDriver
Please check your CLASSPATH.
java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at SimpleApp.loadDriver(SimpleApp.java:257)
        at SimpleApp.go(SimpleApp.java:31)
        at SimpleApp.main(SimpleApp.java:21)

----- SQLException -----
  SQL State:  08001
  Error Code: 0
  Message:    No suitable driver found for jdbc:derby:derbyDB;create=true
SimpleApp finished

please help me in executing this file


pourush rohila 
udaipur.
pourush.rohila@gmail.com
pourush_guddu@rediffmail.com
pourushrohila@yahoo.com
pourush.rohila@hotmail.com
9414754214