From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver
Date: Tue, 29 Mar 2016 12:34:23 -0700
Message-ID: <56FAD8BF.5020008@hogranch.com> (raw)
In-Reply-To: <1459278729-astroid-0-m4sg7mj0dg-32597@morple>
References: <CAE3Q90zo6SngbxbKOVa+tvtot21ioYWd3N_YCz_S+FN9ZZC8ug@mail.gmail.com>
<1459278729-astroid-0-m4sg7mj0dg-32597@morple>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: pierce@hogranch.com
Subject: Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver
In-Reply-To: <56FAD8BF.5020008@hogranch.com>
References: <CAE3Q90zo6SngbxbKOVa+tvtot21ioYWd3N_YCz_S+FN9ZZC8ug@mail.gmail.com> <1459278729-astroid-0-m4sg7mj0dg-32597@morple> <56FAD8BF.5020008@hogranch.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox