Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to find a suitable driver

 
Igbe Jr. Chukwudi
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi every body.please am having problem with my database connection. each time i try to connect,b it flank the following error message:
UNABLE TO ESTABLISH CONNECTION TO jdbc:derby//localhost:1527/sample using org.apache.derby.jdbc.ClientDriver(Unable to find a suitable driver).

A friend says that the problem is from my windows XP,that the driver is missing in the installation. if that is so,i have to reformatt my system.
what should i do friends.....THANKS!!!
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your friend is wrong.

Your url is wrong too.
Check here for the right syntax.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic