Skip site navigation (1) Skip section navigation (2)

Re: Not able to connect to postgresql database

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Manohar Bhattarai" <manoharbhattarai(at)gmail(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Not able to connect to postgresql database
Date: 2010-06-02 13:49:35
Message-ID: 4C061B1F0200002500031C9F@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-jdbc
Manohar Bhattarai <manoharbhattarai(at)gmail(dot)com> wrote:
 
> I have added the jar in classpath also in the CLASSPATH variable
> of /etc/environment file. Still I am getting exception :
> java.lang.ClassNotFoundException: org.postgresql.Driver.
 
You said you were using Eclipse, which I believe sets its own
classpath for each runnable you set up within it.  Look for the
entry under the "Run..." or "Debug..." menu item and set it up
there.
 
-Kevin

In response to

Responses

pgsql-jdbc by date

Next:From: dmpDate: 2010-06-02 15:39:58
Subject: Re: Not able to connect to postgresql database
Previous:From: Manohar BhattaraiDate: 2010-06-02 13:40:15
Subject: Re: Not able to connect to postgresql database

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group