Thanks, Bryan, Here's my new CLASSPATH (added both JAR files):
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Doc>echo %CLASSPATH% .;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip;C:\Program Files\Java\jdk1.7.0_25\db\lib\derbyrun.jar;C:\Program Files\Java\jdk1.7.0_25\bin;C:\Program Files\Java\jre7\bin;C:\Program Files\Java\jdk1.7.0_25\db\lib\derbyclient.jar C:\Users\Doc> After making the changes and verifying the changes to CLASSPATH, I ran the program. I have several breakpoints starting at Class.forName(), then connect = DriverManager.getConnection() and the catch (throw e) in the same method (NewTest()). Same problem - reaches line 21 (Class.forName()) then jumps to line 33 (throw e). Based upon your earlier comment, I'm going to try adding more 'files' to the CLASSPATH. It's odd and frustrating that it stops there... I was going to use Oracle but Derby works (if I can get it to work within a program) with the IDE. Thank you! I appreciate the help! Best Regards, Nick. -----Original Message----- From: Bryan Pendleton [mailto:[email protected]] Sent: Saturday, August 24, 2013 12:09 PM To: Derby Discussion Subject: Re: Problem with Class.forName > CLASSPATH: .;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip;C:\Program > Files\Java\jdk1.7.0_25\db\lib;C:\Program > Files\Java\jdk1.7.0_25\bin;C:\Program Files\Java\jre7\bin Don't name the *directories* here, name the actual *jar files*. As in: set CLASSPATH=C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip;C:\Program Files\Java\jdk1.7.0_25\db\lib\derbyclient.jar You can either list derbyclient.jar, or you can list derbyrun.jar. thanks, bryan
