pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Jon C. <camilleri.jon@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6105: Failed to load Main-Class manifest attribute
Date: Mon, 11 Jul 2011 15:35:19 +0800
Message-ID: <4E1AA7B7.1080704@postnewspapers.com.au> (raw)
In-Reply-To: <201107101353.p6ADr6xg076117@wwwmaster.postgresql.org>
References: <201107101353.p6ADr6xg076117@wwwmaster.postgresql.org>

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



view thread (2+ messages)

Message-ID: <4E1AA7B7.1080704@postnewspapers.com.au>
Permalink:  ../4E1AA7B7.1080704@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4E1AA7B7.1080704@postnewspapers.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: craig@postnewspapers.com.au, camilleri.jon@gmail.com
  Subject: Re: BUG #6105: Failed to load Main-Class manifest attribute
  In-Reply-To: <4E1AA7B7.1080704@postnewspapers.com.au>
  References: <201107101353.p6ADr6xg076117@wwwmaster.postgresql.org> <4E1AA7B7.1080704@postnewspapers.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox