Re: .jar file gives error

From: "David Johnston" <polobo(at)yahoo(dot)com>
To: "'Rob Richardson'" <RDRichardson(at)rad-con(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: .jar file gives error
Date: 2012-11-14 14:26:42
Message-ID: 012701cdc274$116c5680$34450380$@yahoo.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Rob Richardson
Sent: Wednesday, November 14, 2012 9:16 AM
To: pgsql-jdbc(at)postgresql(dot)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:

Failed to load Main-Class manifest attribute from

postgresql-9.2-1002.jdbc4.jar

What do I need to do to fix this?

Thank you very much.

RobR

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2012-11-14 19:48:02 Re: Packaging of 9.2-1001 source tarball
Previous Message andreak 2012-11-14 14:20:36 Re: .jar file gives error