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

Compiling JDBC - problem

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 (view raw or flat)
Thread:
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 



Responses

pgsql-interfaces by date

Next:From: nelsonDate: 2001-03-12 17:29:09
Subject: JDBC: can't set transaction isolation level
Previous:From: Tom LaneDate: 2001-03-12 17:18:40
Subject: Re: libpq++: combined patches based on 7.1b5

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