I would recommend this tutorial if you are using Netbeans.
I think you maybe be missing the toursdb demo directory as I don't recall it being bundled with the appserver.
What you could do is download a more recent version (10.5.1.1) of Java DB directly from the Java DB portal to use instead of 10.2.2.1 which is an old release - toursdb will definitely be in there.
If you are using netbeans, you can verify if derby.jar is added a part of your project classpath / library - check under your project's properties (libraries category)
I'm trying to use the above tutorial (http://developers.sun.com/docs/javadb/10.5.1.1/getstart/getstart-single.html) but I do not find the subfolders
specified in the tutorial for the first example. I downloaded appserver/derby/netbeans 2 days ago. The derby version seems to be 10.2.2.1. I am able to create databases, tables, connections etc in netbeans. Do I need an older version of the tutorial?
ps my real problem is ClassNotFoundException on Class.forName("org.apache.derby.jdbc.EmbeddedDriver"),
(or if i skip this step (unneccesary according to recent doc.), i get no suitable driver found on DriverManager.getConnection())
even though derby.jar is in my classpath according to sysinfo.
Microsoft brings you a new way to search the web. Try Bing™ now