Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to connect to MS Access DB

 
Sukrit Sulochana
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am trying to connect to a MS Access DB from a java class and an getting the following error:

java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver

What could be the problem?

Thanks,
Rajneesh
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ODBC-JDBC Bridge Driver is not found in the CLASSPATH.
Make sure it is.

Which version of Java are you using by the way ?
java -version
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic