My Java program (one of my very first) seems to be hanging
at the following line of standard code:
Class.forName("org.sqlite.JDBC");
Connection c = null;
Statement stmt = null;
c = DriverManager.getConnection("jdbc:sqlite:test.db");
c.setAutoCommit(false);
I'm recieving the following error
:
java.sql.SQLException: No suitable driver found for jdbc:sqlite:test.db
However, when running the java application I'm providing the correct location of the jdbc driver
(I think);
sudo java -cp ./jsoup-1.7.3.jar:./sqlite-jdbc-3.7.2.jar:. <AppName>
any idea how to proceed?
thanks a million