Re: BUG #6105: Failed to load Main-Class manifest attribute - Mailing list pgsql-bugs

From Craig Ringer
Subject Re: BUG #6105: Failed to load Main-Class manifest attribute
Date
Msg-id 4E1AA7B7.1080704@postnewspapers.com.au
Whole thread Raw
In response to BUG #6105: Failed to load Main-Class manifest attribute  ("Jon C." <camilleri.jon@gmail.com>)
List pgsql-bugs
On 10/07/11 21:53, Jon C. wrote:

> java -jar postgresql-8.4-702.jdbc3.jar
> Failed to load Main-Class manifest attribute from
> postgresql-8.4-702.jdbc3.jar

What do you expect to happen? It's a JDBC driver, not a standalone
program. You can't run it with "java -jar". It goes on the classpath so
that Java programs can use it to connect to PostgreSQL.

How to add it to the classpath depends on the Java software you are
using. Check the manual for the software package you are attempting to
use. The PgJDBC manual gives generic instructions for Java programmers.

--
Craig Ringer

pgsql-bugs by date:

Previous
From: Craig Ringer
Date:
Subject: Re: BUG #6106: JAR File has no source attachment
Next
From: Craig Ringer
Date:
Subject: Re: BUG #6106: JAR File has no source attachment