Hmmm, says no suitable driver found. Strange.
If the application I’m trying to deploy couldn’t see the JDBC driver, how would to even communicate with the pgsql backend? I mean, users can log in and create databases, but they can’t access them.
I’m puzzled.
root@aida2next /u/2next# java -cp postgresql.jar:./ TestUrl
Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc:postgresql://10.10.10.100
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at TestUrl.main(TestUrl.java:10)
Nuno Zimas
Systems Administrator & Web Developer
T: +44 20 3289 1162
T: +351 244 204 857
java -cp postgresql.jar:./ TestUrl