From: | Altaf Malik <mmalik_altaf(at)yahoo(dot)com> |
---|---|
To: | John R Pierce <pierce(at)hogranch(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: installing postgresql jdbc driver in Mac OS X Lion |
Date: | 2011-06-27 23:56:47 |
Message-ID: | 1309219007.59539.YahooMailNeo@web110415.mail.gq1.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)hogranch(dot)com>
To: pgsql-jdbc(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Radoslaw Smogura | 2011-06-28 07:26:22 | Re: bytea performance tweak |
Previous Message | Andreas Schmitz | 2011-06-27 23:49:57 | Re: bytea performance tweak |