I have been unable to compile derby. Its very likely
that the error is mine but I've read through
BUILDING.txt and can't see to figure out what I may
have missed or done wrong.
The error output from ant:
[javac] Files to be compiled:
[javac]
C:\CloudscapeDev\trunk\java\engine\org\apache\derby\iapi\reference\JDBC20Translation.java
[javac]
C:\CloudscapeDev\trunk\java\engine\org\apache\derby\iapi\reference\JDBC30Translation.java
[javac]
C:\CloudscapeDev\trunk\java\engine\org\apache\derby\iapi\reference\JDBC20Translation.java:13:
cannot access java.sql.ResultSet
[javac] bad class file:
C:\j2sdk1.4.1_02\jre\lib\rt.jar(java/sql/ResultSet.class)
[javac] class file has wrong version 48.0, should
be 47.0
[javac] Please remove or make sure it appears in
the correct subdirectory of the classpath.
[javac] import java.sql.ResultSet;
It seems like one version of javac going against a
newer version of the library
I am running on windows, ant 1.6.2. My JAVA_HOME and
PATH point to a JDK 1.4 installation. I think I've set
the j13lib and j14lib variables correctly.
2165:Setting project property: java13compile.classpath
->
c:/jdk1.3/jre/lib/rt.jar;C:\CloudscapeDev\trunk/tools/java/jdbc2_0-stdext.jar
2189:Setting project property:
java14compile.classpath ->
c:/j2sdk1.4.1_02/jre/lib/rt.jar
Any help would be appreciated.
Thanks,
Manish
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo