From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | Markus Wollny <Markus(dot)Wollny(at)computec(dot)de> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: ./configure --with-java fails |
Date: | 2004-07-06 11:11:14 |
Message-ID: | Pine.BSO.4.56.0407060559410.14014@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, 6 Jul 2004, Markus Wollny wrote:
> I am trying to build PostgreSQL 7.4.3 with Java enabled; I've got Apache
> Ant version 1.5 and j2sdk1.4.1_05 installed:
>
> [javac] Modern compiler not found - looking for classic compiler
>
> BUILD FAILED
> file:/usr/src/postgresql/postgresql-7.4.3/conftest.xml:3: Cannot use
> classic compiler, as it is not available. A common solution is to set
> the environment variable JAVA_HOME to your jdk directory.
Your setup looks good, perhaps changing the configure script to run ant
with -debug would help?
> Help would be very much appreciated; on second thoughts: Is it at all
> necessary to build the JDBC-driver myself or can I safely use the
> precompiled .jar-file from http://jdbc.postgresql.org/download.html on
> my clients? And if I compile without the --with-java, will the resulting
> PostgreSQL-server-installation have any shortcomings in integrating with
> JDBC-applications? What exactly are the "Java/JDBC tools" aside from the
> JDBC-driver jar-file?
Configuring with --with-java does nothing other than build the JDBC
driver. There used to be some additional java tools, but these were
removed before the 7.4 release. The provided jar files are no different
than what you would build yourself so it's fine to use them.
Kris Jurka
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Seymour | 2004-07-06 12:32:15 | Re: Do we need more emphasis on backup? |
Previous Message | Najib Abi Fadel | 2004-07-06 10:45:46 | Re: Bug in function to_char() !! |