java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:532)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at timer.TimerTester.main(TimerTester.java:22)
Any help would be greatly appreciated.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same trouble. I have the jar for the 1.0 release in my classpath. I have run java with -verbose and see JXDBConDriver is being loaded. I have looked everywhere I know to find the trouble but cannot find a solution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I am having trouble to create a connection.
This is what I have:
Class drver = Class.forName("org.sourceforge.jxdbcon.JXDBConDriver");
Connection cn = DriverManager.getConnection("jdbc:postgresql:net//192.168.0.1/testdb","test","testi");
Statement stmt = cn.createStatement();
and I am getting:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:532)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at timer.TimerTester.main(TimerTester.java:22)
Any help would be greatly appreciated.
Thanks
I have the same trouble. I have the jar for the 1.0 release in my classpath. I have run java with -verbose and see JXDBConDriver is being loaded. I have looked everywhere I know to find the trouble but cannot find a solution.