Re: Error:java.lang.ClassNotFoundException:org.postgresql.Driver - Mailing list pgsql-jdbc

From John R Pierce
Subject Re: Error:java.lang.ClassNotFoundException:org.postgresql.Driver
Date
Msg-id 56FAD8BF.5020008@hogranch.com
Whole thread Raw
In response to Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver  ("M. Dietrich" <mdt@emdete.de>)
Responses Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver  ("M. Dietrich" <mdt@emdete.de>)
List pgsql-jdbc
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/...




--
john r pierce, recycling bits in santa cruz



pgsql-jdbc by date:

Previous
From: "M. Dietrich"
Date:
Subject: Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver
Next
From: "M. Dietrich"
Date:
Subject: Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver