Re: ./configure --with-java fails - Mailing list pgsql-general

From Kris Jurka
Subject Re: ./configure --with-java fails
Date
Msg-id Pine.BSO.4.56.0407060559410.14014@leary.csoft.net
Whole thread Raw
In response to ./configure --with-java fails  ("Markus Wollny" <Markus.Wollny@computec.de>)
List 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


pgsql-general by date:

Previous
From: Harald Fuchs
Date:
Subject: Re: SUBSTRING for a regular expression
Next
From: jseymour@linxnet.com (Jim Seymour)
Date:
Subject: Re: Do we need more emphasis on backup?