Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.3/8.11.1) with SMTP id f2LJxGt33984 for ; Wed, 21 Mar 2001 14:59:16 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from web11806.mail.yahoo.com (web11806.mail.yahoo.com [216.136.172.160]) by mail.postgresql.org (8.11.3/8.11.1) with SMTP id f2L5Ttt15813 for ; Wed, 21 Mar 2001 00:29:55 -0500 (EST) (envelope-from silky212001@yahoo.com) Message-ID: <20010321052954.13448.qmail@web11806.mail.yahoo.com> Received: from [203.197.217.99] by web11806.mail.yahoo.com; Tue, 20 Mar 2001 21:29:54 PST Date: Tue, 20 Mar 2001 21:29:54 -0800 (PST) From: Silky Mittal Subject: problem compiling the jdbc driver To: pgsql-interfaces@postgresql.org In-Reply-To: <1B3D5E532D18D311861A00600865478C01C6A04E@exchange1.nt.maidstone.gov.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200103/158 X-Sequence-Number: 1319 Dear Sir, i am using postgresql 6.5.3 on red hat 6.2... i downloaded j2sdk-1_3_0_02-linux-rpm.bin from java.sun.com and stored it in my root directory with the same name. i have jdbc6.5-1.2.jar and jdbc6.5-1.1.jar in /usr/lib/pgsql directory. i use following code for the driver in my java application: Class.forName("org.postgresql.Driver") it compiles fine but when i give java filename it gives the following error: java.lang.ClassNotFoundException:org/postgresql/Driver then i included the name of jar file in my classpath with the command export CLASSPATH=.:/usr/lib/pgsql/jdbc6.5-1.2.jar it still gives the same problem........ then i tried to compile the driver using the command make jdbc2 but it gives the following error: make:**No rule to make target jdbc2 Stop also my system has no file called postgresql.jar. please tell me what to do. Thanks help will be appreciated Silky __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/