Re: BUG #4384: jdbc driver not working

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: lakshmidevi <lakshmidevi83(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4384: jdbc driver not working
Date: 2008-08-28 11:18:09
Message-ID: 48B68971.8020404@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

lakshmidevi wrote:
> The following bug has been logged online:
>
> Bug reference: 4384
> Logged by: lakshmidevi
> Email address: lakshmidevi83(at)gmail(dot)com
> PostgreSQL version: postgresql 8.2
> Operating system: windows Xp
> Description: jdbc driver not working
> Details:
>
> am uing postgresql-8.2-508.jdbc3.jar
>
> WHEN I RUN THE JDBC3 JAR FILE IN XP IT SHOWS ERROR LIKE THIS
>
> C:\Program Files\Java\jdk1.5.0_14\jre\lib\ext>set
> CLASSPATH=%CLASSPATH%;C:\Progr
> am Files\Java\jdk1.5.0_14\lib\ext\postgresql-8.2-508.jdbc3.jar
>
> C:\Program Files\Java\jdk1.5.0_14\jre\lib\ext>java -jar
> postgresql-8.2-508.jdbc3
> .jar
> Failed to load Main-Class manifest attribute from
> postgresql-8.2-508.jdbc3.jar

You can't "run" the JDBC jar. It's not a standalone Java executable.
Read the PostgreSQL JDBC documentation to find out how to use it. If you
still need help, consider posting on the JDBC list, but do make sure to
read the manual first.

--
Craig Ringer

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-08-28 14:41:54 Re: BUG #4383: operations in a certain row makes server process terminate with signal 11
Previous Message lakshmidevi 2008-08-28 11:03:03 BUG #4384: jdbc driver not working