Thanks Dave,
Like such?
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)
> On 2 Dec 2015, at 20:39, Dave Cramer <pg(at)fastcrypt(dot)com> wrote:
>
> java -cp postgresql.jar:./ TestUrl