Not able to connect to postgresql database - Mailing list pgsql-jdbc

From Manohar Bhattarai
Subject Not able to connect to postgresql database
Date
Msg-id AANLkTinBl2QsPy0vCg0gN1fzy96ttltXpK0TVGqeiRlU@mail.gmail.com
Whole thread Raw
Responses Re: Not able to connect to postgresql database  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: Not able to connect to postgresql database  (Maciek Sakrejda <msakrejda@truviso.com>)
List pgsql-jdbc
Hi,

 I am a newbie for postgresql. I am trying to connect to postgresql database using jdbc. I googled about it and got the Driver string and connection string formats. I tried using some examples i got on the internet. But my program is not able to connect to postgresql and shows an exception that it cannot find driver. I am doing it in Ubuntu8.04 Linux with Postgresql 8.3 installed. I am using Eclipse galileo as IDE. I created database using commands in terminal. I have added the external jar files for postgresql jdbc connector(postgresql-8.3-603.jdbc3.jar, postgresql-8.3-603.jdbc4.jar, postgresql-8.4-701.jdbc3.jar and postgresql-8.4-701.jdbc4.jar) in my project also.

Please help me and let me know what i am doing wrong and what i am missing.
Can you please give an example code if possible?

pgsql-jdbc by date:

Previous
From: Jason Tesser
Date:
Subject: Re: Found a Bug in latest Driver (I THINK) and pg 8.4
Next
From: "Kevin Grittner"
Date:
Subject: Re: Not able to connect to postgresql database