[Pljava-dev] please help - java.lang.ClassNotFoundException: org.postgresql.Driver

From: books at ejurka(dot)com (Kris Jurka)
To:
Subject: [Pljava-dev] please help - java.lang.ClassNotFoundException: org.postgresql.Driver
Date: 2010-06-16 22:32:01
Message-ID: 4C1950E1.3030206@ejurka.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

On 6/16/2010 3:11 PM, swaroop wrote:
> The last step says, run the deployer program. I did that but
> unfortunately I get an exception. Please help me here. The exception is
> below. I tried to download the jdbc driver at
> http://jdbc.postgresql.org/download/postgresql-8.4-701.jdbc3.jar and
> added it to classpath. But this did not help. Please advice.
>
> swaroop at swaroop-laptop:~/Project/pljava$ java -cp deploy.jar
> org.postgresql.pljava.deploy.Deployer -install
> java.lang.ClassNotFoundException: org.postgresql.Driver

You need to add it to the classpath here:

java -cp postgresql-8.4-701.jdbc3.jar:deploy.jar
org.postgresql.pljava.deploy.Deployer -install

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2010-06-16 22:45:50 [Pljava-dev] Compilation with both JDK 5 and JDK 6
Previous Message swaroop 2010-06-16 22:11:11 [Pljava-dev] please help - java.lang.ClassNotFoundException: org.postgresql.Driver