Обсуждение: build --with-java
Hi im using jakarta-ant-1.5, j2sdk1.4.1, j2sdkee1.3.1 and postgresql-7.2.2 when i build posgresql --with-java, i get the following errors /usr/local/src/postgresql-7.2.2 ......... /ResultSet.java:60 org.postgresql.jdbc2.ResultSet should be declared abstract; it does not define getURL(int) in org.postgresql.jdbc2.ResultSet the "should be declared abstract" error is repeated for Statement,Connection,DatabaseMeatData,PreparedStatement,CallableStatement,PG clob,ClientConnection and the make fails Is this a versions thing ?? Dave
David, Make sure you delete the old class build files ant clean Dave On Thu, 2002-10-03 at 06:39, David Rigler wrote: > > Hi > > im using jakarta-ant-1.5, j2sdk1.4.1, j2sdkee1.3.1 and postgresql-7.2.2 > > when i build posgresql --with-java, i get the following errors > > /usr/local/src/postgresql-7.2.2 ......... /ResultSet.java:60 > org.postgresql.jdbc2.ResultSet should be declared abstract; it does not > define getURL(int) in org.postgresql.jdbc2.ResultSet > > the "should be declared abstract" error is repeated for > Statement,Connection,DatabaseMeatData,PreparedStatement,CallableStatement,PG > clob,ClientConnection > > and the make fails > > Is this a versions thing ?? > > Dave > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > >
David Rigler wrote: > Hi > > im using jakarta-ant-1.5, j2sdk1.4.1, j2sdkee1.3.1 and postgresql-7.2.2 ^^^^^^^^^^ ^^^^^^^^^^^^^^ The 7.2 jdbc driver does not support building under jdk1.4. You need to build under 1.2 or 1.3. You can run under 1.4 though (as long as you are not trying to use and of the new features added to the jdbc spec in 1.4). In 7.3 you will be able to build under 1.4. thanks, --Barry