On Thu, Jul 23, 1998 at 06:44:17PM +0100, Peter T Mount wrote:
> # unset CLASSPATH
>
> then run make. These errors are caused by javac getting confused by both
> the postgresql and java.sql packages
>
> This is covered in the README and in the faq
>
Yes, I have read the README, but:
papipc# unset CLASSPATH
papipc# echo $CLASSPATH
papipc#
papipc# make
postgresql/CallableStatement.java:213: Method redefined with different
return type: postgresql.BigDecimal getBigDecimal(int, int) was
java.math.BigDecimal
getBigDecimal(int, int)
public BigDecimal getBigDecimal(int parameterIndex, int scale)
^
./postgresql/PreparedStatement.java:0: Class java.math.BigDecimal not
found in type declaration.
package postgresql;
^
./postgresql/PreparedStatement.java:27: class postgresql.PreparedStatement
must be declared abstract. It does not define void setBigDecimal(int,
java.math.BigDecimal) from interface java.sql.PreparedStatement.
public class PreparedStatement extends Statement implements
java.sql.PreparedStatement
[...]
./postgresql/DatabaseMetaData.java:2058: class postgresql.ResultSet is an
abstract class. It can't be instantiated.
return new ResultSet(connection, f, v, "OK", 1);
^
./postgresql/DatabaseMetaData.java:2433: class postgresql.ResultSet is an
abstract class. It can't be instantiated.
return new ResultSet(connection, f, v, "OK", 1);
^
21 errors
make: *** [postgresql/CallableStatement.class] Error 1
So, I got the same errors!
--Tibor
--
---------.Sig--------
Tibor Pap <papt@edasz.hu>
---------------------