Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

not able to connect Ms Access  RSS feed

 
Confused
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Report post to moderator
Im using windows 2000 server and trying to connect Ms Access from a jsp app.
but getting this error.

java.sql.SQLException: No suitable driver

my code ....
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
// Make a connection to the ODBC datasource iCare
Connection con = DriverManager.getConnection("jdbc dbc:iCare", "","");
.......

my classpath is below
C:\j2sdk1.4.2_03\bin;C:\j2sdk1.4.2_03\jre\lib\rt
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!