db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <knut.hat...@oracle.com>
Subject Re: derby 10.5 build failing
Date Sun, 10 Oct 2010 19:26:03 GMT
vipul modi <vipul.1409@gmail.com> writes:

> there is no /usr/jdk directory
>
> only directory  /usr/lib/jvm/sun-6-jdk is there , this has following
> contents
>
> .   bin        ext      jre  LICENSE  README.html  
> THIRDPARTYLICENSEREADME.txt
> ..  COPYRIGHT  include  lib  man      .systemPrefs
>
> /usr/lib/jvm contents
>
> vipul@vipul-laptop:/usr/lib/jvm$ ls -a
> .   java-1.5.0-gcj      java-6-sun           .java-6-sun.jinfo 
> java-gcj-4.4
> ..  java-1.5.0-gcj-4.4  java-6-sun-1.6.0.20  java-gcj

I think the JDK detector gets confused by the java-1.5.0-gcj-*
directories. When it looks into those directories, it doesn't find the
jars it expected to find there, and makes java15compile.classpath
empty. This problem was fixed in DERBY-4263 (I think).

One thing you may do to work around this problem is to see which value
the property java15compile.classpath had in the successful build of
trunk, and then set the property manually to that value in
~/ant.properties.

Another workaround could be to move the gcj directories out of
/usr/lib/jvm temporarily.

-- 
Knut Anders

Mime
View raw message