JDBC Part II

From: "Adam H(dot) Pendleton" <apendleton(at)vgsinc(dot)com>
To: <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: JDBC Part II
Date: 1999-05-07 14:42:36
Message-ID: 004101be9897$dad33130$bdd0be80@belvoir.army.mil
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Okay, I downloaded 6.5 postgreSQL and installed it. Then I went into the
jdbc directory, set my PATH and CLASSPATH to point to jdk 1.1.7 and built
the interface. Then I changed my PATH and CLASSPATH to point to JDK 1.2. I
typed `make` again. The build went fine. Then I built my test program that
uses JDBC and ran it and got this error:

Exception caught: The postgresql.jar file does not contain the correct JDBC
classes for this JVM. Try rebuilding.
Exception thrown was java.lang.ClassNotFoundException:
postgresql.jdbc2.Connection

What did I do wrong? When I compile and run the program with the JDK 1.1.7
it runs fine.

Adam

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Khristos I. Khoury 1999-05-07 15:17:14 RE: [INTERFACES] I am new to this
Previous Message abdelkrim 1999-05-07 14:30:44 error insert