pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedCompiling JDBC - problem
3+ messages / 2 participants
[nested] [flat]
* Compiling JDBC - problem
@ 2001-03-12 17:25 Oliver Elphick <olly@lfix.co.uk>
0 siblings, 1 reply; 3+ messages in thread
From: Oliver Elphick @ 2001-03-12 17:25 UTC (permalink / raw)
To: 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.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
========================================
"And now abideth faith, hope, love, these three; but
the greatest of these is love."
I Corinthians 13:13
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Compiling JDBC - problem
@ 2001-03-12 20:15 Peter Mount <peter@retep.org.uk>
parent: Oliver Elphick <olly@lfix.co.uk>
0 siblings, 1 reply; 3+ messages in thread
From: Peter Mount @ 2001-03-12 20:15 UTC (permalink / raw)
To: Oliver Elphick <olly@lfix.co.uk>; 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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Compiling JDBC - problem
@ 2001-03-12 22:18 Oliver Elphick <olly@lfix.co.uk>
parent: Peter Mount <peter@retep.org.uk>
0 siblings, 0 replies; 3+ messages in thread
From: Oliver Elphick @ 2001-03-12 22:18 UTC (permalink / raw)
To: Peter Mount <peter@retep.org.uk>; +Cc: pgsql-interfaces
Peter Mount wrote:
>At 17:25 12/03/01 +0000, Oliver Elphick wrote:
>What compiler are you using? Blackdown, kaffe? I know kaffe doesn't work
>with our source full stop (bug on their part).
It was kaffe; I've removed that in favour of jdk1.1, and get a little
bit further:
olly@linda$ export CLASSPATH=/usr/lib/jdk1.1/lib/classes.zip
olly@linda$ export JAVA_HOME=/usr/lib/jdk1.1
olly@linda$ ant
Searching for build.xml ...
Buildfile: /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/build.xml
jar:
call:
prepare:
check_versions:
driver:
Configured build for the JDBC1 edition driver.
compile:
[javac] Compiling 2 source files to /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/build
[javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Missing term.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Invalid expression statement.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: ';' expected.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] /usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/org/postgresql/largeobject/PGclob.java:26: Interface java.sql.Clob of class org.postgresql.largeobject.PGclob not found.
[javac] public class PGclob implements java.sql.Clob
[javac] ^
[javac] 4 errors
BUILD FAILED
/usr3/home/olly/mypackages/pg7.1/postgresql-7.1beta5/src/interfaces/jdbc/build.xml:99: Compile failed, messages should have been provided.
Total time: 1 second
--
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
========================================
"And now abideth faith, hope, love, these three; but
the greatest of these is love."
I Corinthians 13:13
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-03-12 22:18 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-12 17:25 Compiling JDBC - problem Oliver Elphick <olly@lfix.co.uk>
2001-03-12 20:15 ` Peter Mount <peter@retep.org.uk>
2001-03-12 22:18 ` Oliver Elphick <olly@lfix.co.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox