7.1beta4 jdbc problem on freebsd 4.2 with JSDK 1.1.8.

From: Nat Howard <nrh(at)pupworks(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: 7.1beta4 jdbc problem on freebsd 4.2 with JSDK 1.1.8.
Date: 2001-02-07 05:19:58
Message-ID: 200102070519.f175JwV14104@spot.pupworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-jdbc

Using java SDK 1.1.8, which is the current "real" java in the
freebsd ports tree, one can't compile the jdbc driver. The Implementation
file mentions that "ant" has not been tested with 1.1.X, and suggests
that the deprecated makefile will work.

The errors below are from a java file, and occur whether one uses
"gmake jdbc1" or "ant" to attempt to build the driver.

spot% ant
Searching for build.xml ...
Buildfile: /usr/home/nrh/postgresql/postgresql-7.1beta4/build.xml

jar:

call:

prepare:

check_versions:

driver:
Configured build for the JDBC1 edition driver.

compile:
[javac] Compiling 1 source file to /usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/build
[javac] /usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:284: Missing term.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] /usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:284: Invalid expression statement.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] /usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:284: ';' expected.
[javac] if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
[javac] ^
[javac] 3 errors

BUILD FAILED

/usr/home/nrh/postgresql/postgresql-7.1beta4/src/interfaces/jdbc/build.xml:82: Compile failed, messages should have been provided.

Total time: 4 seconds

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jered Floyd 2001-02-07 08:13:49 JDBC driver throws unfriendly exceptions
Previous Message Nat Howard 2001-02-07 04:46:53 7.1beta4 problem on freebsd 4.2 with JSDK 1.1.8.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter T Mount 2001-02-07 08:35:45 Re: [JDBC][INTERFACES][NOVICE] Postgresql inteface to Star Office using JDBC
Previous Message Bruce Momjian 2001-02-07 03:42:46 Re: no way in LargeObject API to detect short read?