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

jdbc driver problem

From: Amit Lamba <amit_lamba99(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: jdbc driver problem
Date: 2002-06-18 16:34:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
Even i am getting trouble in installing jdbc driver.I
installed jdk1.4 successfully,no problem with that. I
installed ant also and set the path to jdk/bin and
ant/bin.i set ant_home and java_home as well.I
installed postgresql with no option first.Than i went
to src/interfaces/jdbc directory and tried to run
ant,it gives me the error which is attached below at
the end. I even tried to configure postgre with-java
option but it gives me the same error. I got advive to
go in interfaces/jdbc directory and run ant clean and
ant jar first.Ant jar gives me the same error.Does
that mean i have problem with ant.i even set the
classpath to crimson.jar,jaxp.jar and ant.jar in
ant/lib dir.

i run ant with -Dmajor=7 -Dminor=2.1
-Dfullversion=7.21 and portno.5432 as suggested but it
gives me the same error as follows:

Buildfile: ./build.xml




     [echo] Configured build for the JDBC2 Enterprise
edition driver

    [javac] Compiling 53 source files to
';' expected
    [javac]             return ${major};
    [javac]                         ^
';' expected

and BUILD FAILED at the end

Later, i want to transfer one table from oracle to
this database.Both databases are on diff. machines but
same network.For that i need jdbc working. Is there
any other way also i can transfer my table.I mean any
graphical interface or tool which does that?

For jdbc driver i even downloaded from (pgjdbc2.jar) and put it into
pgsql/share/java dir and tried to run a sample program
but it tells me to run postmaster with -i -S option in
pg_hba.conf file.Where is taht file and what to i i need to rerun everything after that?
PLease advice as i am new to postgresql and struggling
from last week on this.

I have some problem with pgaccess also but i think
it's too much for one mail.


Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

pgsql-interfaces by date

Next:From: Nick HawDate: 2002-06-19 09:25:36
Subject: Re: Views and Access 2000
Previous:From: Michael MeskesDate: 2002-06-18 12:48:12
Subject: Re: ECPG: CREATE TABLE ... FOREIGN KEY(col) REFERENCES table(col)

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