I am using Eclipse with WindowsBuilder. I have created a small simple project to open an existing Derby db and I am getting the following error:-
java.lang.ClassNotFoundException; org.apache.derby.jdbc.EmbeddedDriver
with a call to ClassForName(driver) where driver is “org.apache.derby.jdbc.EmbeddedDriver”.
After googling I made sure that my Windows 7 CLASSPATH includes the following:-
c:\program files\eclipse\plugins\db-derby-10.8.2.2-bin\lib\derby.jar;c:\program files\eclipse\plugins\db-derby-10.8.2.2-bin\lib\derbytools.jar;.
I still have the same problem and I am wondering how to check that the classpath entries above actually point to the driver resource.
Any help appreciated.
Have You added the derby db .jar file to the projects Java Build Path?