Thanks Dave.
It was missing the db bit.
Now it executes silently and there are no vestiges on the pgsql log.
Guess it means that it’s working, but should’t pgqsl log the select statement?
> On 2 Dec 2015, at 21:15, Nuno Zimas <nzimas(at)gmail(dot)com> wrote:
>
> root(at)aida2next /u/2next# java -cp /usr/2next/libs/jdbc/postgresql-9.4-1201.jdbc4.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)