pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter T Mount <peter@retep.org.uk>
To: Silky Mittal <silky212001@yahoo.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: problem compiling the jdbc driver
Date: Thu, 22 Mar 2001 09:18:58 -0500 (EST)
Message-ID: <985270738.3aba09d2e33e8@webmail.retep.org.uk> (raw)
In-Reply-To: <20010321052954.13448.qmail@web11806.mail.yahoo.com>
References: <20010321052954.13448.qmail@web11806.mail.yahoo.com>

Quoting Silky Mittal <silky212001@yahoo.com>:

> 
>  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

Yep. "org.postgresql.Driver" only came in with 7.0. For anything earlier drop 
the org. part of the package.

Peter

-- 
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/



view thread (5+ messages)

Message-ID: <985270738.3aba09d2e33e8@webmail.retep.org.uk>
Permalink:  ../985270738.3aba09d2e33e8@webmail.retep.org.uk/
Also on:    postgresql.org/message-id/985270738.3aba09d2e33e8@webmail.retep.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: peter@retep.org.uk, silky212001@yahoo.com
  Subject: Re: problem compiling the jdbc driver
  In-Reply-To: <985270738.3aba09d2e33e8@webmail.retep.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox