The JDBC JAR is not something you can run standalone. You have to make sure the JAR is available in the classpath when you are running another application that needs to use the PostgreSQL JDBC Implementation.
I don’t have the correct syntax or answer for you at the moment but you should be able to find something via Google search pretty readily.
David J.
From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Rob Richardson Sent: Wednesday, November 14, 2012 9:16 AM To: pgsql-jdbc@postgresql.org Subject: [JDBC] .jar file gives error
Greetings!
This is probably a simple question because I have never before tried to run a .jar file.
I just downloaded the latest PostgreSQL JDBC installation file. When I tried to run it using the “java –jar” command, I got the following error: