Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 8CF27B5DC12 for ; Mon, 11 Jul 2011 09:53:28 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 15132-08 for ; Mon, 11 Jul 2011 12:53:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [173.230.139.50]) by mail.postgresql.org (Postfix) with ESMTP id A19F6B5DBF7 for ; Mon, 11 Jul 2011 09:53:22 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id 26997EB; Mon, 11 Jul 2011 03:35:22 -0400 (EDT) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4asR9bf69LDa; Mon, 11 Jul 2011 03:35:21 -0400 (EDT) Received: from mail.postnewspapers.com.au (ppp171-128.static.internode.on.net [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id 6A16627; Mon, 11 Jul 2011 03:35:21 -0400 (EDT) Received: from [10.0.0.53] (wallace.localnet [10.0.0.53]) by mail.postnewspapers.com.au (Postfix) with ESMTP id DA3BAAE247; Mon, 11 Jul 2011 15:35:19 +0800 (WST) Message-ID: <4E1AA7B7.1080704@postnewspapers.com.au> Date: Mon, 11 Jul 2011 15:35:19 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Thunderbird/3.1.9 MIME-Version: 1.0 To: "Jon C." CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6105: Failed to load Main-Class manifest attribute References: <201107101353.p6ADr6xg076117@wwwmaster.postgresql.org> In-Reply-To: <201107101353.p6ADr6xg076117@wwwmaster.postgresql.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/84 X-Sequence-Number: 30696 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