Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akzPX-0006eA-3b for pgsql-jdbc@arkaria.postgresql.org; Tue, 29 Mar 2016 19:34:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1akzPW-0003vT-HG for pgsql-jdbc@arkaria.postgresql.org; Tue, 29 Mar 2016 19:34:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1akzPV-0003vI-Ty for pgsql-jdbc@postgresql.org; Tue, 29 Mar 2016 19:34:42 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akzPP-0001xR-0U for pgsql-jdbc@postgresql.org; Tue, 29 Mar 2016 19:34:40 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id u2TIYPm11986 for ; Tue, 29 Mar 2016 11:34:25 -0700 Subject: Re: Error:java.lang.ClassNotFoundException: org.postgresql.Driver To: pgsql-jdbc@postgresql.org References: <1459278729-astroid-0-m4sg7mj0dg-32597@morple> From: John R Pierce Message-ID: <56FAD8BF.5020008@hogranch.com> Date: Tue, 29 Mar 2016 12:34:23 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <1459278729-astroid-0-m4sg7mj0dg-32597@morple> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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