The quotes and stat.close() don't matter, according to the link: `https://bitbucket.org/xerial/sqlite-jdbc/wiki/Usage', which I have tested. Quotes help when file path contains spaces, though.
I think it maybe due to the jdbc driver. Try Xerial's JDBC driver for SQLite, which works fine for me.