Re: [GENERAL] JDBC problem

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: soundar rajan <psrajan(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] JDBC problem
Date: 1999-10-19 19:49:05
Message-ID: Pine.LNX.4.10.9910192041100.9738-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 19 Oct 1999, soundar rajan wrote:

> Hi all,
>
> Thanks for the responses. I'm running postgreSQL
> 6.5.2 under Linux 6.1. I need to access the DB using
> JDK (either 1.1 or 1.2, doesn't really matter a lot).
> The problem I face is on the creation of the
> postgresql.jar, the driver for the connection.
>
> When I try to make under the /src/interfaces/jdbc
> directory, it fails. On making it, either I ge 47
> errors or the make fails stating some errors -- '(u'
> unexpected syntax error , /bin/sh -- I've the
> jdbc6.5-1.1.jar (from retep,org.uk) in the same
> directory and my path is set to the jdk1.1.3/bin
> directory. I(I was advised dk1.2 doesn't work well
> for Linux). Can anyone help me in overcoming this
> step.

I've got to put 1.1.7 back on my linux box, but 1.2 is working very well -
but I've tended to miss out on the problems.

Now the jdbc6.5-1.1.jar file is infact the 6.5.1 version driver, so as
your java.version string is not correct, you'll have to run your app
like:

java -Djava.version=1.1 your.class

It's for this reason I changed how this is handled in 6.5.2. However,
because I haven't got 1.1.7 on my development machine (I reinstalled it
recently) I haven't had chance to rebuild the jdbc6.5-1.1.jar file. The
jdbc6.5-1.2.jar file is the new version however.

> Urgent please.

Tip, although I shouldn't say this (as it's against the works internet
policy, but then I police it anyhow :-) ), cc my work's email address:

petermount(at)it(dot)maidstone(dot)gov(dot)uk

That way, I can catch the emails from both here and at work.

Peter

> Thanks in advacnce.
> Soundar.
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
> ************
>

--
Peter T Mount peter(at)retep(dot)org(dot)uk
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rutilo Flores Hernández 1999-10-19 20:53:58 (no subject)
Previous Message Duncan Kinder 1999-10-19 18:03:37 Re: [GENERAL] Installation simplicity