0
public class DBtest 
{

    public static void main(String args[])
    {
        try
        {
            Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
        } 
        catch (Exception e)
        {
            System.out.println("JDBC-ODBC driver failed to load.");
            return;
         }
     }
}

Showing Exception Message

"JDBC ODBC Driver failed to load"

I have 2 questions 1-Where This JdbcOdbcDriver can be foud for MS ACCESS ? 2-If MS access Drier option in Administrative tool -> ODBC(64-bit)-> System DSN->Select Driver indicate the JDBC ODBC driver for connectivity then why it is not connecting

Kristijan Iliev
  • 4,901
  • 10
  • 28
  • 47

1 Answers1

0

You didn't specify the java version you're using. Supposing you're using the latest JDK, JdbcOdbc driver is no longer available.

Dmitry Grigoryev
  • 3,156
  • 1
  • 25
  • 53