Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id AA90AB5DBD8 for ; Mon, 27 Jun 2011 12:38:36 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 96560-04 for ; Mon, 27 Jun 2011 15:38:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from na3sys009aog125.obsmtp.com (na3sys009aog125.obsmtp.com [74.125.149.153]) by mail.postgresql.org (Postfix) with SMTP id B1B40B5DBDA for ; Mon, 27 Jun 2011 12:38:28 -0300 (ADT) Received: from mail-bw0-f41.google.com ([209.85.214.41]) (using TLSv1) by na3sys009aob125.postini.com ([74.125.148.12]) with SMTP ID DSNKTgij86ZvgjuhI9Pz1g9adsJN+9aY0xs+@postini.com; Mon, 27 Jun 2011 08:38:30 PDT Received: by bwd14 with SMTP id 14so1819123bwd.28 for ; Mon, 27 Jun 2011 08:38:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.25.145 with SMTP id z17mr4597833bkb.24.1309189104233; Mon, 27 Jun 2011 08:38:24 -0700 (PDT) Received: by 10.204.117.66 with HTTP; Mon, 27 Jun 2011 08:38:24 -0700 (PDT) In-Reply-To: <78EFAA44-9344-4EDD-A64E-9906912018DA@gmail.com> References: <78EFAA44-9344-4EDD-A64E-9906912018DA@gmail.com> Date: Tue, 28 Jun 2011 03:38:24 +1200 Message-ID: Subject: Re: installing postgresql jdbc driver in Mac OS X Lion From: Oliver Jowett To: Shaun Langley Cc: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201106/60 X-Sequence-Number: 21984 On 28 June 2011 03:22, Shaun Langley wrote: > I'm trying to install the jdbc driver on my Mac OS X Lion installation. = =A0I'm running JRE 1.6.0_26. > > I've downloaded postgresql-9.0-801.jdbc4.jar > > and run > > java -jar postgresql-9.0-801.jdbc4.jar > > which returns > > Failed to load Main-Class manifest attribute from > postgresql-9.0-801.jdbc4.jar > > Any help trying to resolve this issue would be appreciated! The driver is not a standalone application that can be run with -jar. You include it in the classpath of a larger application; so "installation" is mostly just a case of putting the jar in the right place. See http://jdbc.postgresql.org/documentation/head/classpath.html Oliver