title: 32bit Win7, 32bit JDK and 32bit MS Access causes java.sql.SQLException: No suitable driver found
body: <p>I have 32bit Win7, 32bit Office 2010 and 32bit JDK 8u5  and trying to access MS Acess database. When I try to crete connection, I get java.sql.SQLException: No suitable driver found</p>
  
  <p>There is no difference between this:</p>
  
  <p><code>Connection konekcija = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=D:\\Marko\\NetBeansProjekat\\dnevnik.accdb");</code></p>
  
  <p>and creating ODBC data source named "dnevnik" in Administtrative tools an using it like this:</p>
  
  <p><code>Connection konekcija = DriverManager.getConnection("jdbc:odbc:dnevnik");</code></p>
  
  <p>In ODBC Data Sources I have installed Microsoft Access Driver(*.mdb, *.accdb). </p>
  
  <p>This is whole method that throws Exception</p>
  
  <pre><code>public static List&lt;Odeljenje&gt; vratiSvaOdeljenja(){
     List&lt;Odeljenje&gt; result = new ArrayList&lt;&gt;();
      try {  
          Connection konekcija = DriverManager.getConnection("jdbc:odbc:dnevnik");
          String upit = "SELECT * FROM tOdeljenje";
          Statement st = konekcija.createStatement();
          ResultSet rs = st.executeQuery(upit);
          while (rs.next()) {
              long odeljenjeID = rs.getLong("OdeljenjeID");
              String oznakaOdeljenja = rs.getString("OznakaOdeljenja");               
  
              Odeljenje o = new Odeljenje(odeljenjeID, oznakaOdeljenja);
              result.add(o);
          }
          konekcija.close();
      } catch (SQLException ex) {
          Logger.getLogger(RadSaBazom.class.getName()).log(Level.SEVERE, null, ex);
      }
      return result;
  }
  </code></pre>
  
  <p>Thank you in advance :)</p>