db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jalud Abdulmenan <te...@rogers.com>
Subject Re: Compilation Error (Bad class file)
Date Wed, 22 Sep 2004 03:26:13 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What is the content of your ant.properties file?

You might also want to try compiling derby after running the clobber target.

Jalud,

Manish Khettry wrote:
> 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
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBUPDU2MOhC3LM/1oRAlp0AKC/bA7IEyl4wrh7iCjcDK5khsi0yACg94nG
cix9zp1ihTwohY3C0S8jS/A=
=VMdU
-----END PGP SIGNATURE-----


Mime
View raw message