Re: BUG #4384: jdbc driver not working - Mailing list pgsql-bugs

From Craig Ringer
Subject Re: BUG #4384: jdbc driver not working
Date
Msg-id 48B68971.8020404@postnewspapers.com.au
Whole thread Raw
In response to BUG #4384: jdbc driver not working  ("lakshmidevi" <lakshmidevi83@gmail.com>)
List pgsql-bugs
lakshmidevi wrote:
> The following bug has been logged online:
>
> Bug reference:      4384
> Logged by:          lakshmidevi
> Email address:      lakshmidevi83@gmail.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

pgsql-bugs by date:

Previous
From: "lakshmidevi"
Date:
Subject: BUG #4384: jdbc driver not working
Next
From: Tom Lane
Date:
Subject: Re: BUG #4383: operations in a certain row makes server process terminate with signal 11