X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D768A3A605D for ; Tue, 7 Dec 2004 01:57:43 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66960-01 for ; Tue, 7 Dec 2004 01:57:31 +0000 (GMT) Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by svr1.postgresql.org (Postfix) with ESMTP id 952503A1EBF for ; Tue, 7 Dec 2004 01:57:33 +0000 (GMT) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iB71vWWx016358; Mon, 6 Dec 2004 20:57:32 -0500 Received: from mail.boston.redhat.com (mail.boston.redhat.com [172.16.76.12]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iB71vLr06355; Mon, 6 Dec 2004 20:57:21 -0500 Received: from 192.168.1.2 (vpn83-143.boston.redhat.com [172.16.83.143]) by mail.boston.redhat.com (8.12.8/8.12.8) with ESMTP id iB71vJZU022751; Mon, 6 Dec 2004 20:57:19 -0500 From: Vadim Nasardinov Organization: Red Hat / Westford To: Andrew M , pgsql-jdbc@postgresql.org Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException Date: Mon, 6 Dec 2004 21:05:30 -0500 User-Agent: KMail/1.5.4 References: <73F89B04-47E1-11D9-870C-0003938366A4@jibeya.com> <53680D1C-47EC-11D9-870C-0003938366A4@jibeya.com> In-Reply-To: <53680D1C-47EC-11D9-870C-0003938366A4@jibeya.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412062105.31063@vadim.nasardinov> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200412/56 X-Sequence-Number: 11722 On Monday 06 December 2004 20:07, Andrew M wrote: > typing the following: > > $ java -D javax.net.ssl.trustStore = > /library/java/home/lib/security/cacert > > gives me the following error message > > Exception in thread "main" java.lang.NoClassDefFoundError: > javax/net/ssl/trustStore > > How do I resolve this issue? There should be no space between "-D" and "javax.net.ssl.trustStore". Likewise for the equal sign: there should be no space on either side of it. Like so: java -Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert