Java compilation error: what is missing?
PostgreSQL now uses ant to build the JDBC module; so far I have been
unable to get it to build. Does anyone know what I am missing here?
(The only reference I can find to java.util in Contents is in bock, which
does not look like a package that I should be needing.)
Versions:
ii jdk1.1-dev 1.1.8v1-3 JDK 1.1.x (Java Development Kit)
ii jdk1.1 1.1.8v1-3 JDK 1.1.x (Java Development Kit) - Runtime o
ii java-common 0.7 Base of all Java packages
ii ant 1.2-1 Java based build tool like make
make[3]: Entering directory `/usr3/home/olly/mypackages/pg7.cvs/pgsql/src/inter
faces/jdbc'
/usr/bin/ant -buildfile ./build.xml all \
-Dmajor=7 -Dminor=2 -Dfullversion=7.2devel -Ddef_pgport=5531
Buildfile: ./build.xml
all:
prepare:
[mkdir] Created dir: /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interface
s/jdbc/build
[mkdir] Created dir: /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interface
s/jdbc/jars
check_versions:
driver:
[copy] Copying 1 files to /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/int
erfaces/jdbc/org/postgresql
Configured build for the JDBC1 edition driver
compile:
[javac] Compiling 38 source files to /usr3/home/olly/mypackages/pg7.cvs/pgs
ql/src/interfaces/jdbc/build
[javac] /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interfaces/jdbc/org/po
stgresql/Connection.java:805: Method setProperty(java.lang.String,
java.lang.String) not found in class java.util.Properties.
[javac] info.setProperty("user", PG_USER);
[javac] ^
[javac] /usr3/home/olly/mypackages/pg7.cvs/pgsql/src/interfaces/jdbc/org/po
stgresql/Connection.java:806: Method setProperty(java.lang.String,
java.lang.String) not found in class java.util.Properties.
[javac] info.setProperty("password", PG_PASSWORD);
[javac] ^
[javac] 2 errors
BUILD FAILED
--
Oliver Elphick Oliver.Elphick@lfix.co.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
========================================
"If any of you lack wisdom, let him ask of God, that
giveth to all men liberally, and upbraideth not; and
it shall be given him." James 1:5
Reply to: