From: | "Nick Fankhauser" <nickf(at)ontko(dot)com> |
---|---|
To: | "Wei Wang" <Wei(dot)Wang(at)cl(dot)cam(dot)ac(dot)uk>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Cannot build JDBC driver in 7.1.3. |
Date: | 2002-06-02 22:13:37 |
Message-ID: | NEBBLAAHGLEEPCGOBHDGAEPFFAAA.nickf@ontko.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
My understanding is that the only thing that "--with-java" does is to
compile the jdbc driver jar file. This means that if you didn't build it on
your original install, all you need to do now is to download the jar file
from http://jdbc.postgresql.org/download.html and put it in your classpath.
You may be able to find some useful hints for getting started here:
http://www.fankhausers.com/postgresql/jdbc/. The 7.2 driver will work fine
with a 7.1.3 backend.
Regards,
-Nick
--------------------------------------------------------------------------
Nick Fankhauser nickf(at)ontko(dot)com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Wei Wang
> Sent: Monday, May 27, 2002 3:39 PM
> To: pgsql-general(at)postgresql(dot)org
> Subject: [GENERAL] Cannot build JDBC driver in 7.1.3.
>
>
> Hi,
>
>
> I cannot build my JDBC driver.
>
> I have installed pgsql 7.1.3 some time ago. I am trying to set up
> JDBC driver.
> >From the documentation, I was told to ./configure --prefix xxx
> --with-java
> But I couldn't remember whether I did that when I install pgsql.
> Is there any
> way to check if it is included? (Well, at least my java program with
> Class.forName("org.postgresql.Driver");
> returns "Unable to load Driver Class".
>
> The docu also suggests to run make in /src/interfaces/jdbc. It returns:
> buildfile ../../../build.xml -Dmajor=7 -Dminor=1
> -Dfullversion=7.1.3 -Ddef_pgport=5432make: buildfile: Command not found
> make: [all] Error 127 (ignored)
>
> An answer to an earlier question in email achive suggests to do the
> ./configure --with-java first. But I think the second attempt should be
> independent from the ./configure one, isn't it?
>
> Any idea what could be the reason?
>
>
> Wei
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
From | Date | Subject | |
---|---|---|---|
Next Message | Gregory Seidman | 2002-06-03 01:17:50 | reverse of extract epoch? |
Previous Message | Bruce Momjian | 2002-06-02 21:34:05 | Re: select from function |