Skip site navigation (1) Skip section navigation (2)

problem compiling the jdbc driver

From: Silky Mittal <silky212001(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: problem compiling the jdbc driver
Date: 2001-03-21 05:29:54
Message-ID: (view raw or whole thread)
Lists: pgsql-interfaces
 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 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
   i use following code for the driver in my java
    it compiles fine but when i give java filename it
 gives the following error:

  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
  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.
   help will be appreciated

Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.


pgsql-interfaces by date

Next:From: Peter T MountDate: 2001-03-21 09:11:59
Subject: Re: Re: [INTERFACES] Trouble with JDBC2 ResultSet.getDate()
Previous:From: Cedar CoxDate: 2001-03-20 18:43:59
Subject: triggered data change violation

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group