我使用下面的代码从Java无法读取使用Java源码JDBC
String connection = "jdbc:sqlite:/" + Tracking.FILES_LOCATION + "places.sqlite";
Connection conn1 = DriverManager.getConnection("jdbc:sqlite:path_to_places.sqlite/");
Statement stat = conn1.createStatement();
ResultSet rs1 = stat.executeQuery("select * from moz_bookmarks;");
连接,并读取moz_bookmarks从Firefox表,但我不断收到:"java.sql.SQLException: file is encrypted or is not a database"
即使升级我的JDBC驱动程序源码后为sqlite3 任何帮助,非常感谢 谢谢!