Here you can find the source of getNewConnection(File dbFile)
protected static Connection getNewConnection(File dbFile)
//package com.java2s; //License from project: Open Source License import java.io.File; import java.sql.Connection; import java.sql.DriverManager; public class Main { protected static Connection getNewConnection(File dbFile) { Connection c;/*from w w w .j a v a 2s .c o m*/ try { Class.forName("org.sqlite.JDBC"); c = DriverManager.getConnection("jdbc:sqlite:" + dbFile.getAbsolutePath()); return c; } catch (Exception e) { return null; } } }