title: Succeed use ORMLite for SQLite in Windows, but failed in Mac
body: <p>I've implement an application, it works when I code in Windows. But the same code gave Exception in Mac. I use SQLite database and have put sqlite-jdbc-3.21.0.1.jar as library.</p>
  
  <p>I know the driver went ok since I have check it like below:</p>
  
  <pre><code>public static void pureSqlite() throws Exception {
      String url = "jdbc:sqlite:hadits-bukhari.sqlite";
      Connection connection = DriverManager.getConnection(url);
      System.out.println("Connection established.");
  
      String sql = "SELECT * FROM hadits";
      Statement statement = connection.createStatement();
      ResultSet resultSet = statement.executeQuery(sql);
  
      int i = 0;
      while (resultSet.next()) {
          if (i == 5) break;
  
          System.out.println(resultSet.getInt("nomer")+". "+resultSet.getString("deskripsi"));
  
          i++;
      }
  }
  </code></pre>
  
  <p>It works perfectly when I used my Windows computer.</p>
  
  <p>Then, I've implement it with ORMLite's way. Create Hadits class with required annotation. Then I have below function:</p>
  
  <pre><code>public static void withOrmLite() throws Exception {
      Class.forName("org.sqlite.JDBC"); // even put this test
      System.out.println("Frankly, class org.sqlite.JDBC is exists."); 
  
      Ilmu ilmu = new IlmuImpl();
      List&lt;Hadits&gt; list = ilmu.findHadits("bukhari", "");
      int i = 0;
      for (Hadits item: list) {
          if (i == 10) break;
          System.out.println(item.number+". "+item.desc);
          i++;
      }
  }
  </code></pre>
  
  <p>From IlmuImpl:</p>
  
  <pre><code>@Override
  public List&lt;Hadits&gt; findHadits(String book, String keyword) throws Exception {
      String dbHost = "jdbc:sqlite:hadits-"+book+".sqlite";
      ConnectionSource connection = new JdbcConnectionSource(dbHost);
      Dao&lt;Hadits, Long&gt; haditsDao = DaoManager.createDao(connection, Hadits.class);
  
      List&lt;Hadits&gt; list;
  
      if (keyword == null || keyword.trim().length() == 0) {
          list = haditsDao.queryForEq("buku", book);
      } else {
          QueryBuilder&lt;Hadits, Long&gt; queryBuilder = haditsDao.queryBuilder();
          queryBuilder.where().like("deskripsi", "%"+keyword+"%");
          PreparedQuery&lt;Hadits&gt; preparedQuery = queryBuilder.prepare();
          list = haditsDao.query(preparedQuery);
      }
  
  
      connection.close();
      return list;
  }
  </code></pre>
  
  <p>This code do fine in Windows, but failed when I use the same code in Mac, says:</p>
  
  <pre><code>Exception in thread "main" java.sql.SQLException: Driver class was not found for SQLite database.  Missing jar with class org.sqlite.JDBC.
  at com.j256.ormlite.misc.SqlExceptionUtil.create(SqlExceptionUtil.java:27)
  at com.j256.ormlite.db.BaseDatabaseType.loadDriver(BaseDatabaseType.java:47)
  at com.j256.ormlite.jdbc.JdbcConnectionSource.initialize(JdbcConnectionSource.java:137)
  at com.j256.ormlite.jdbc.JdbcConnectionSource.&lt;init&gt;(JdbcConnectionSource.java:117)
  at com.j256.ormlite.jdbc.JdbcConnectionSource.&lt;init&gt;(JdbcConnectionSource.java:59)
  at ilmu.implementation.IlmuImpl.findHadits(IlmuImpl.java:17) &lt;-- this is my class
  ...
  Caused by: java.lang.ClassNotFoundException: org.sqlite.JDBC
  ...
  </code></pre>
  
  <p>What could be wrong?</p>