Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver

843859Jun 17 2009 — edited Jun 21 2009
Hey guys, as u can see i'm having an error loading the derby drivers.
String driver = "org.apache.derby.jdbc.EmbeddedDriver";
try {
      Class.forName(driver);
    } catch (java.lang.ClassNotFoundException e) {
      e.printStackTrace();
    }
I downloaded the netbeans ide 6.5 and I've created some java desktop database applications and let the project build an interface to sample databases I created but when I create a blank java project to do the coding myself I get an exception saying java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver . Anyone know how I resolve this issue? Any help is appreciated.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 19 2009
Added on Jun 17 2009
7 comments
3,355 views