Re: Compiling JDBC - problem

Lists: pgsql-interfaces
From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Compiling JDBC - problem
Date: 2001-03-12 17:25:48
Message-ID: 200103121725.f2CHPmG08001@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

Trying to build JDBC:
$ ant
Searching for build.xml ...
Buildfile: /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/build.xml

jar:

call:

prepare:
[mkdir] Created dir: /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/s
rc/interfaces/jdbc/build
[mkdir] Created dir: /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/s
rc/interfaces/jdbc/jars

check_versions:

driver:
[copy] Copying 1 files to /usr3/home/olly/mypackages/pg7.1/postgresql-7.1b
eta5/src/interfaces/jdbc/org/postgresql
Configured build for the JDBC2 edition driver.

compile:
[javac] Compiling 40 source files to /usr3/home/olly/mypackages/pg7.1/postg
resql-7.1beta5/src/interfaces/jdbc/build

BUILD FAILED

/usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/build.
xml:99: Cannot use classic compiler, as it is not available

...bafflement! What is "classic compiler"? The XML line begins "<javac".
I have jdk1.1 installed, which contains /usr/lib/jdk1.1/bin/javac.

What else am I missing? (I am not experienced with Java.)

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"And now abideth faith, hope, love, these three; but
the greatest of these is love."
I Corinthians 13:13


From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Compiling JDBC - problem
Date: 2001-03-12 20:15:01
Message-ID: 5.0.2.1.0.20010312201314.00a27b70@mail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

At 17:25 12/03/01 +0000, Oliver Elphick wrote:
>Trying to build JDBC:

snip
BUILD FAILED

>/usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/build.
>xml:99: Cannot use classic compiler, as it is not available
>
>
>...bafflement! What is "classic compiler"? The XML line begins "<javac".
>I have jdk1.1 installed, which contains /usr/lib/jdk1.1/bin/javac.
>
>What else am I missing? (I am not experienced with Java.)

Ok from the ant docs:

· classic (the standard compiler of JDK 1.1/1.2)
· modern (the new compiler of JDK 1.3)
· jikes (the · Jikes compiler)
· jvc (the Command-Line Compiler from Microsoft's SDK for Java /
Visual J++)

So classic is the JDK 1.1 & 1.2 compilers. I think they (Sun) made some
major changes in 1.3.

What compiler are you using? Blackdown, kaffe? I know kaffe doesn't work
with our source full stop (bug on their part).

Peter