pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Silky Mittal <silky212001@yahoo.com>
To: pgsql-interfaces@postgresql.org
Subject: problem compiling the jdbc driver
Date: Tue, 20 Mar 2001 21:29:54 -0800 (PST)
Message-ID: <20010321052954.13448.qmail@web11806.mail.yahoo.com> (raw)
In-Reply-To: <1B3D5E532D18D311861A00600865478C01C6A04E@exchange1.nt.maidstone.gov.uk>


 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/



view thread (5+ messages)  latest in thread

Message-ID: <20010321052954.13448.qmail@web11806.mail.yahoo.com>
Permalink:  ../20010321052954.13448.qmail@web11806.mail.yahoo.com/
Also on:    postgresql.org/message-id/20010321052954.13448.qmail@web11806.mail.yahoo.com

 · 

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: silky212001@yahoo.com
  Subject: Re: problem compiling the jdbc driver
  In-Reply-To: <20010321052954.13448.qmail@web11806.mail.yahoo.com>

* 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