I am trying to connect to an sqlite database using Rjb and the JDBC driver from https://bitbucket.org/xerial/sqlite-jdbc#markdown-header-usage
I cannot work out how to call the following Java using Rjb:
Class.forName("org.sqlite.JDBC")
Has anyone connected to sqlite using Rjb with success?
The RJB code I have so far is as follows and is throwing the exception 'java.sql.SQLException: No suitable driver found for jdbc:sqlite:/Users/obrientimothya/Dropbox/development/vle/db/development.sqlite3'
Connection = Rjb::import 'java.sql.Connection'
DriverManager = Rjb::import 'java.sql.DriverManager'
SQLException = Rjb::import 'java.sql.SQLException'
DriverManager.registerDriver(Rjb::import('org.sqlite.JDBC'))
connection = DriverManager.getConnection("jdbc:sqlite:/Users/obrientimothya/development.sqlite3")