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 D2A685283B for ; Wed, 8 Jun 2005 15:57:15 -0300 (ADT) 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 18954-08 for ; Wed, 8 Jun 2005 18:57:04 +0000 (GMT) Received: from cuaima.ica.luz.ve (www.ica.luz.ve [150.185.222.161]) by svr1.postgresql.org (Postfix) with ESMTP id 4743852838 for ; Wed, 8 Jun 2005 15:56:59 -0300 (ADT) Received: from tragavenado.ica.luz.ve (tragavenado.ica.luz.ve [10.2.208.202]) by cuaima.ica.luz.ve (Postfix) with ESMTP id 670037A76D for ; Wed, 8 Jun 2005 14:56:52 -0400 (VET) From: Nelson =?iso-8859-1?q?Arap=E9?= Organization: ICA-LUZ To: pgsql-jdbc@postgresql.org Subject: Re: FW: PostgreSQL JDBC Installation Date: Wed, 8 Jun 2005 14:56:51 -0400 User-Agent: KMail/1.6.2 References: <260391368@web.de> In-Reply-To: <260391368@web.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200506081456.51871.narape@ica.luz.ve> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.017 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/42 X-Sequence-Number: 13004 El Mi=E9 08 Jun 2005 09:07, Stefan Grasse escribi=F3: > Hello, > > I got a question when downloading the newest > postgresql-8.1dev-400.jdbc3.jar onto the Windows platform. Where do I have > to store this jar ? Any where on your hardrive. Ussually people have a specially directory wher= e=20 they store jars. Other have a lib directory in their project directory. The= re=20 is no a standard way > I have to unpack this jar, correct ? No > Do I have to set a CLASSPATH or similar variables (like PATH ?) ? If yes, > what value should this variable have ? You have to add the postgresql-8.1dev-400.jdbc3.jar to your classpath. Ther= e=20 are several ways to do that. * If you are compiling from the command prompt javac -classpath .:/path/to/jdebc/jar Project.java (on unix) javac -classpath .;\path\to\jdebc\jar Project.java (on windows) * If you use a IDE, you have to consult your IDE documentation in order to = add=20 the jdbc jar to your classpath.=20 I hope to have helped Nelson Arap=E9 PD: Sorry for my english > > When describing how to connect to the driver with the statement > Class.forName("org.postgresql.Driver"); > I got the exception: > java.lang.ClassNotFoundException: org.postgresql.Driver > > What went wrong ? > > I hope to get an answer of you soon > Best regards > Stefan > > > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend