Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver

From: "M(dot) Dietrich" <mdt(at)emdete(dot)de>
To: John R Pierce <pierce(at)hogranch(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver
Date: 2016-03-30 21:20:43
Message-ID: 1459372799-astroid-0-1ufo2bxif5-7645@morple
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Zitat aus John R Pierce's Nachricht :
> On 3/29/2016 12:16 PM, M. Dietrich wrote:
>> Zitat aus Nithin Chakravarthi's Nachricht :
>>> *"export
>>> CLASSPATH=./Server.jar:~/Downloads/postgresql-9.3-1103.jdbc3.jar"*
>> java does not expand the "~" denoting your home dir, use `pwd`
>> instead to let the shell do that or name the full filename
>> with absolute directory.
> I'd suggest:
>
> export CLASSPATH=./Server.jar:$HOME/Downloads/postgresql-9.3-1103.jdbc3.jar
>
> that $HOME will get expanded when the 'set' is being done, so the value
> of $CLASSPATH will contain ...:/home/whatever/Downloads/...

correct, pwd does not do the job, sorry ;)

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Craig Ringer 2016-04-01 02:11:11 Re: Complicated re-distribution of pgjdbc the "open source way"
Previous Message John R Pierce 2016-03-29 19:34:23 Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver