Re: installing postgresql jdbc driver in Mac OS X Lion - Mailing list pgsql-jdbc

From Altaf Malik
Subject Re: installing postgresql jdbc driver in Mac OS X Lion
Date
Msg-id 1309219007.59539.YahooMailNeo@web110415.mail.gq1.yahoo.com
Whole thread Raw
In response to Re: installing postgresql jdbc driver in Mac OS X Lion  (John R Pierce <pierce@hogranch.com>)
List pgsql-jdbc
Good question. Do you know what the -jar switch does and why the JDBC Drivers are called Drivers?

On a side note:
http://jdbc.postgresql.org/documentation/83/classpath.html
http://en.wikipedia.org/wiki/JDBC_driver

Kind Regards
Altaf Malik


From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Sent: Tuesday, 28 June 2011 1:43 AM
Subject: Re: [JDBC] installing postgresql jdbc driver in Mac OS X Lion

On 06/27/11 8:22 AM, Shaun Langley wrote:
> I'm trying to install the jdbc driver on my Mac OS X Lion installation.  I'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!

JDBC is a runtime library, you need to load it with your application
program.




--
john r pierce                            N 37, W 122
santa cruz ca                        mid-left coast


--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc


pgsql-jdbc by date:

Previous
From: Andreas Schmitz
Date:
Subject: Re: bytea performance tweak
Next
From: Radoslaw Smogura
Date:
Subject: Re: bytea performance tweak